use default keyword to get rid of compiler warning of not returning a value in a non-void function

This commit is contained in:
Dennis Luxen 2014-07-01 16:51:18 +02:00
parent cfa4d80dd7
commit 9ce970df8f

View File

@ -83,7 +83,7 @@ void delete_region(const SharedDataType region)
return "DATA_2"; return "DATA_2";
case LAYOUT_NONE: case LAYOUT_NONE:
return "LAYOUT_NONE"; return "LAYOUT_NONE";
case DATA_NONE: default: // DATA_NONE:
return "DATA_NONE"; return "DATA_NONE";
} }
}(); }();