< prev index next >

src/share/vm/services/writeableFlags.cpp

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -84,10 +84,12 @@
       buffer_concat(buffer, "there is no flag with the given name."); break;
     case Flag::ERR_OTHER:
       buffer_concat(buffer, "other, unspecified error related to setting the flag."); break;
     case Flag::SUCCESS:
       break;
+    default:
+      break;
   }
 
   err_msg.print("%s", buffer);
 }
 
< prev index next >