Copyright year update in most files of the GDB Project.
[deliverable/binutils-gdb.git] / gdb / maint.c
index 101c2de61789847157de612b8f942e84f9c49197..6a106fd387c391f348c075c20a235359a09df068 100644 (file)
@@ -1,7 +1,7 @@
 /* Support for GDB maintenance commands.
 
-   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
-   2003, 2004, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1992-1997, 1999-2004, 2007-2012 Free Software
+   Foundation, Inc.
 
    Written by Fred Fish at Cygnus Support.
 
@@ -74,19 +74,7 @@ show_watchdog (struct ui_file *file, int from_tty,
   fprintf_filtered (file, _("Watchdog timer is %s.\n"), value);
 }
 
-/*
-
-   LOCAL FUNCTION
-
-   maintenance_command -- access the maintenance subcommands
-
-   SYNOPSIS
-
-   void maintenance_command (char *args, int from_tty)
-
-   DESCRIPTION
-
- */
+/* Access the maintenance subcommands.  */
 
 static void
 maintenance_command (char *args, int from_tty)
@@ -644,9 +632,7 @@ maintenance_do_deprecate (char *text, int deprecate)
       cmd->flags |= MALLOCED_REPLACEMENT;
       return;
     }
-  /* If we get here, don't leak!  */
-  if (replacement != NULL)
-    xfree (replacement);
+  xfree (replacement);
 }
 
 /* Maintenance set/show framework.  */
This page took 0.025416 seconds and 4 git commands to generate.