From 9ce970df8f4522de19f1039f6a8aceeaeee45d0d Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 1 Jul 2014 16:51:18 +0200 Subject: [PATCH] use default keyword to get rid of compiler warning of not returning a value in a non-void function --- datastore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastore.cpp b/datastore.cpp index 85f8a6199..c16bd02ba 100644 --- a/datastore.cpp +++ b/datastore.cpp @@ -83,7 +83,7 @@ void delete_region(const SharedDataType region) return "DATA_2"; case LAYOUT_NONE: return "LAYOUT_NONE"; - case DATA_NONE: + default: // DATA_NONE: return "DATA_NONE"; } }();