From e91a68cb9e6dd7f567f1eaf063351179c64ae1c5 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Wed, 25 May 2011 04:34:57 +0000 Subject: [PATCH] Fixed a compilation warning/error. --- src/lib_json/json_value.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp index 35ec41d..b279953 100644 --- a/src/lib_json/json_value.cpp +++ b/src/lib_json/json_value.cpp @@ -726,6 +726,8 @@ Value::asUInt() const return UInt(value_.uint_); case realValue: return UInt( value_.real_ ); + default: + break; } JSON_ASSERT_UNREACHABLE; return 0;