mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Avoid cppcheck warnings; removing unused vars and a bit of cleanup.
Patch by: junky Review: https://reviewboard.asterisk.org/r/1743/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@362307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -714,9 +714,9 @@ end_acf_read:
|
||||
pbx_builtin_setvar_helper(chan, "ODBCSTATUS", status);
|
||||
pbx_builtin_setvar_helper(chan, "~ODBCFIELDS~", ast_str_buffer(colnames));
|
||||
if (resultset) {
|
||||
int uid;
|
||||
struct ast_datastore *odbc_store;
|
||||
if (multirow) {
|
||||
int uid;
|
||||
uid = ast_atomic_fetchadd_int(&resultcount, +1) + 1;
|
||||
snprintf(buf, len, "%d", uid);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user