[mod_lua] scan-build: Called C++ object pointer is null (Dbh_test_reactive)
This commit is contained in:
parent
3abccb4b4f
commit
0e96038d21
|
@ -53,6 +53,22 @@
|
|||
result = (bool)(arg1)->test_reactive(arg2,arg3,arg4);
|
||||
lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
|
||||
return SWIG_arg;
|
||||
@@ -9516,6 +9516,7 @@ static int _wrap_Dbh_test_reactive__SWIG_1(lua_State* L) {
|
||||
|
||||
arg2 = (char *)lua_tostring(L, 2);
|
||||
arg3 = (char *)lua_tostring(L, 3);
|
||||
+ switch_assert(arg1);
|
||||
result = (bool)(arg1)->test_reactive(arg2,arg3);
|
||||
lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
|
||||
return SWIG_arg;
|
||||
@@ -9543,6 +9544,7 @@ static int _wrap_Dbh_test_reactive__SWIG_2(lua_State* L) {
|
||||
}
|
||||
|
||||
arg2 = (char *)lua_tostring(L, 2);
|
||||
+ switch_assert(arg1);
|
||||
result = (bool)(arg1)->test_reactive(arg2);
|
||||
lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
|
||||
return SWIG_arg;
|
||||
@@ -9672,6 +9673,7 @@ static int _wrap_Dbh_query(lua_State* L) {
|
||||
(&arg3)->idx = 3;
|
||||
}
|
||||
|
|
|
@ -9548,6 +9548,7 @@ static int _wrap_Dbh_test_reactive__SWIG_1(lua_State* L) {
|
|||
|
||||
arg2 = (char *)lua_tostring(L, 2);
|
||||
arg3 = (char *)lua_tostring(L, 3);
|
||||
switch_assert(arg1);
|
||||
result = (bool)(arg1)->test_reactive(arg2,arg3);
|
||||
lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
|
||||
return SWIG_arg;
|
||||
|
@ -9575,6 +9576,7 @@ static int _wrap_Dbh_test_reactive__SWIG_2(lua_State* L) {
|
|||
}
|
||||
|
||||
arg2 = (char *)lua_tostring(L, 2);
|
||||
switch_assert(arg1);
|
||||
result = (bool)(arg1)->test_reactive(arg2);
|
||||
lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
|
||||
return SWIG_arg;
|
||||
|
|
Loading…
Reference in New Issue