mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Remove an unused variable from sqlite3Insert() and fix harmless
compiler warnings associated with -DSQLITE_MUTATION_TEST. FossilOrigin-Name: 7be760e907274131bcd4acfaff9e72c9c59a05e7d411db3d9afe690fe0d64b4b
This commit is contained in:
@@ -3711,7 +3711,7 @@ int sqlite3_test_control(int op, ...){
|
||||
** This action provides a run-time test to see how the ALWAYS and
|
||||
** NEVER macros were defined at compile-time.
|
||||
**
|
||||
** The return value is ALWAYS(X).
|
||||
** The return value is ALWAYS(X) if X is true, or 0 if X is false.
|
||||
**
|
||||
** The recommended test is X==2. If the return value is 2, that means
|
||||
** ALWAYS() and NEVER() are both no-op pass-through macros, which is the
|
||||
@@ -3734,7 +3734,7 @@ int sqlite3_test_control(int op, ...){
|
||||
*/
|
||||
case SQLITE_TESTCTRL_ALWAYS: {
|
||||
int x = va_arg(ap,int);
|
||||
rc = ALWAYS(x);
|
||||
rc = x ? ALWAYS(x) : 0;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user