Core: Remove lots warnings:
- All "'xxx' will be initialized after 'yyy' when initialized here" - Some "unused variable" - Some "enumeration value 'xxx' not handled in switch" --HG-- branch : trunk
This commit is contained in:
1 parent
6714feb3ee
commit
c3343638cb
45 files changed
+253
-215
No files matched your search
@@ -29,7 +29,7 @@ void Transaction::PAppend(const char* sql, ...)
|
||||
va_list ap;
|
||||
char szQuery [MAX_QUERY_LEN];
|
||||
va_start(ap, sql);
|
||||
int res = vsnprintf(szQuery, MAX_QUERY_LEN, sql, ap);
|
||||
vsnprintf(szQuery, MAX_QUERY_LEN, sql, ap);
|
||||
va_end(ap);
|
||||
|
||||
Append(szQuery);
|
||||
|
||||
Reference in new issue
Block a user