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:
Spp committed 2010-08-21 20:08:47 +02:00
1 parent 6714feb3ee
commit c3343638cb
45 files changed
+253 -215

No files matched your search

+1 -1
View File
@@ -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);