2011-03-04 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 4 Mar 2011 18:31:22 +0000 (18:31 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 4 Mar 2011 18:31:22 +0000 (18:31 +0000)
Reverting this patch:
* infcall.c (call_function_by_hand): Add break statements for lint.

gdb/ChangeLog
gdb/infcall.c

index dcace77c2669b725181ace72dcdfbde3a5b875f5..a79e62c0f253d33ce2628c8bc384e8d1bb4517f0 100644 (file)
@@ -1,5 +1,8 @@
 2011-03-04  Michael Snyder  <msnyder@vmware.com>
 
+       Reverting this patch:
+       * infcall.c (call_function_by_hand): Add break statements for lint.
+
        Reverting this patch:
        * cli/cli-script.c (script_from_file): Add break for lint.
 
index af3a2615984b29a489a777e51ca828c07e0b2b08..75de56cadac2c7b5454293f2fd9d99b1b9f5ba35 100644 (file)
@@ -831,11 +831,9 @@ Evaluation of the expression containing the function\n\
 (%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 */
        }
     }