This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] infcall.c, call_function_by_hand, add break statements for 'lint'


checked in.

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

	* infcall.c (call_function_by_hand): Add break statements for lint.

Index: infcall.c
===================================================================
RCS file: /cvs/src/src/gdb/infcall.c,v
retrieving revision 1.138
diff -u -p -r1.138 infcall.c
--- infcall.c	9 Jan 2011 03:08:56 -0000	1.138
+++ infcall.c	2 Mar 2011 22:20:38 -0000
@@ -831,9 +831,11 @@ Evaluation of the expression containing 
 (%s) will be abandoned.\n\
 When the function is done executing, GDB will silently stop."),
 		       e.message, name);
+	  break;	/* lint */
 	case RETURN_QUIT:
 	default:
 	  throw_exception (e);
+	  break;	/* lint */
 	}
     }
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]