hotspot/src/share/vm/services/writeableFlags.cpp
changeset 46630 75aa3e39d02c
parent 38942 a4b3fc1ba095
--- a/hotspot/src/share/vm/services/writeableFlags.cpp	Wed Jul 05 11:03:19 2017 -0700
+++ b/hotspot/src/share/vm/services/writeableFlags.cpp	Thu Jul 06 01:50:26 2017 +0200
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -86,6 +86,8 @@
       buffer_concat(buffer, "other, unspecified error related to setting the flag."); break;
     case Flag::SUCCESS:
       break;
+    default:
+      break;
   }
 
   err_msg.print("%s", buffer);