2007-07-23 Michael Snyder * event-top.c (command_line_handler): Add pedantic return. Index: event-top.c =================================================================== RCS file: /cvs/src/src/gdb/event-top.c,v retrieving revision 1.51 diff -p -7 -r1.51 event-top.c *** event-top.c 5 Jul 2007 22:47:27 -0000 1.51 --- event-top.c 24 Jul 2007 01:23:02 -0000 *************** command_line_handler (char *rl) *** 669,682 **** --- 669,683 ---- /* If we are in this case, then command_handler will call quit and exit from gdb. */ if (!rl || rl == (char *) EOF) { got_eof = 1; command_handler (0); + return; /* Lint. */ } if (strlen (rl) + 1 + (p - linebuffer) > linelength) { linelength = strlen (rl) + 1 + (p - linebuffer); nline = (char *) xrealloc (linebuffer, linelength); p += nline - linebuffer; linebuffer = nline;