use default keyword to get rid of compiler warning of not returning a value in a non-void function
This commit is contained in:
parent
cfa4d80dd7
commit
9ce970df8f
@ -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";
|
||||
}
|
||||
}();
|
||||
|
Loading…
Reference in New Issue
Block a user