Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [commit] cli/cli-script.c, script_from_file, add a break stmt for lint
@ 2011-03-03  0:16 Michael Snyder
  2011-03-03  9:48 ` Pedro Alves
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Snyder @ 2011-03-03  0:16 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

checked in.


[-- Attachment #2: break8.txt --]
[-- Type: text/plain, Size: 712 bytes --]

2011-03-02  Michael Snyder  <msnyder@vmware.com>

	* cli/cli-script.c (script_from_file): Add break for lint.

Index: cli/cli-script.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-script.c,v
retrieving revision 1.66
diff -u -p -u -p -r1.66 cli-script.c
--- cli/cli-script.c	6 Jan 2011 00:57:02 -0000	1.66
+++ cli/cli-script.c	3 Mar 2011 00:11:55 -0000
@@ -1641,6 +1641,7 @@ script_from_file (FILE *stream, const ch
 	throw_error (e.error,
 		     _("%s:%d: Error in sourced command file:\n%s"),
 		     source_file_name, source_line_number, e.message);
+	break;	/* lint */
       default:
 	internal_error (__FILE__, __LINE__, _("bad reason"));
       }

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-04 18:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-03  0:16 [commit] cli/cli-script.c, script_from_file, add a break stmt for lint Michael Snyder
2011-03-03  9:48 ` Pedro Alves
2011-03-03 17:33   ` Michael Snyder
2011-03-03 17:48     ` Tom Tromey
2011-03-03 17:59     ` Pedro Alves
2011-03-04 18:21       ` Michael Snyder
2011-03-04 18:24         ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox