2011-02-28 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Mon, 28 Feb 2011 18:43:27 +0000 (18:43 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 28 Feb 2011 18:43:27 +0000 (18:43 +0000)
* jv-lang.c (java_primitive_type_from_name): Add missing break.

gdb/ChangeLog
gdb/jv-lang.c

index 6768c11ff8c5682a488950ab6c8929dae29d1cbf..5aabdf8269e3209c661f1f559a5c4eb18bc49e1d 100644 (file)
@@ -1,5 +1,7 @@
 2011-02-28  Michael Snyder  <msnyder@vmware.com>
 
+       * jv-lang.c (java_primitive_type_from_name): Add missing break.
+
        * opencl-lang.c (lval_func_check_validity): Rename inner variables.
        (lval_func_check_synthetic_pointer): Ditto.
        (lval_func_free_closure): Fix use-after-free.
index c854ea9c0057977ada93196220b2eee31c08e39c..dc1b953e7592224f12406db864a8613dc79562dd 100644 (file)
@@ -699,6 +699,7 @@ java_primitive_type_from_name (struct gdbarch *gdbarch,
     case 'c':
       if (namelen == 4 && memcmp (name, "char", 4) == 0)
        return builtin->builtin_char;
+      break;
     case 'd':
       if (namelen == 6 && memcmp (name, "double", 6) == 0)
        return builtin->builtin_double;