place a comment to identify the unreachable code
This commit is contained in:
@@ -1045,6 +1045,7 @@ nhl_variable(lua_State *L)
|
|||||||
|
|
||||||
if (!gl.luacore) {
|
if (!gl.luacore) {
|
||||||
nhl_error(L, "nh luacore not inited");
|
nhl_error(L, "nh luacore not inited");
|
||||||
|
/*NOTREACHED*/
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1118,6 +1119,7 @@ get_nh_lua_variables(void)
|
|||||||
|
|
||||||
if (!gl.luacore) {
|
if (!gl.luacore) {
|
||||||
nhl_error(gl.luacore, "nh luacore not inited");
|
nhl_error(gl.luacore, "nh luacore not inited");
|
||||||
|
/*NOTREACHED*/
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user