OSDN Git Service

2007-07-31 Michael Snyder <msnyder@access-company.com>
authormsnyder <msnyder>
Tue, 31 Jul 2007 22:01:03 +0000 (22:01 +0000)
committermsnyder <msnyder>
Tue, 31 Jul 2007 22:01:03 +0000 (22:01 +0000)
* event-top.c (command_line_handler): Add pedantic return.

gdb/ChangeLog
gdb/event-top.c

index 346f915..cedaf0e 100644 (file)
@@ -1,5 +1,7 @@
 2007-07-31  Michael Snyder  <msnyder@access-company.com>
 
+       * event-top.c (command_line_handler): Add pedantic return.
+
        * f-valprint.c (info_common_command): Bail out to prevent null
        pointer deref.  Break up a long line.
 
index eecff5a..b9124ec 100644 (file)
@@ -673,6 +673,7 @@ command_line_handler (char *rl)
     {
       got_eof = 1;
       command_handler (0);
+      return;                  /* Lint. */
     }
   if (strlen (rl) + 1 + (p - linebuffer) > linelength)
     {