mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
Merged revisions 317474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r317474 | russell | 2011-05-05 17:36:33 -0500 (Thu, 05 May 2011) | 2 lines Fix more "set but unused" warnings. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1618,7 +1618,7 @@ static int realtime_require_handler(const char *unused, const char *tablename, v
|
||||
struct sqlite_cache_tables *tbl = find_table(tablename);
|
||||
struct sqlite_cache_columns *col;
|
||||
char *elm;
|
||||
int type, size, res = 0;
|
||||
int type, res = 0;
|
||||
|
||||
if (!tbl) {
|
||||
return -1;
|
||||
@@ -1626,7 +1626,7 @@ static int realtime_require_handler(const char *unused, const char *tablename, v
|
||||
|
||||
while ((elm = va_arg(ap, char *))) {
|
||||
type = va_arg(ap, require_type);
|
||||
size = va_arg(ap, int);
|
||||
va_arg(ap, int);
|
||||
/* Check if the field matches the criteria */
|
||||
AST_RWLIST_TRAVERSE(&tbl->columns, col, list) {
|
||||
if (strcmp(col->name, elm) == 0) {
|
||||
|
Reference in New Issue
Block a user