mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 22:24:16 +00:00
use switch_assert macro
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6661 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c09a93be1b
commit
55a194e54e
25 files changed
+309
-309
No files matched your search
+2
-2
@@ -320,7 +320,7 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_callback_exec(switch_odb
|
||||
SQLLEN m = 0, t = 0;
|
||||
int result;
|
||||
|
||||
assert(callback != NULL);
|
||||
switch_assert(callback != NULL);
|
||||
|
||||
if (!db_is_up(handle)) {
|
||||
goto error;
|
||||
@@ -358,7 +358,7 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_callback_exec(switch_odb
|
||||
names = calloc(c, sizeof(*names));
|
||||
vals = calloc(c, sizeof(*vals));
|
||||
|
||||
assert(names && vals);
|
||||
switch_assert(names && vals);
|
||||
|
||||
for (x = 1; x <= c; x++) {
|
||||
SQLSMALLINT NameLength, DataType, DecimalDigits, Nullable;
|
||||
|
||||
Reference in new issue
Block a user