2007-07-31 Michael Snyder <msnyder@access-company.com>

* event-top.c (command_line_handler): Add pedantic return.
This commit is contained in:
Michael Snyder 2007-07-31 22:01:03 +00:00
parent 7c6e0d4812
commit 40742ab60a
2 changed files with 3 additions and 0 deletions

View 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.

View 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)
{