diff options
author | stephan <stephan@noemail.net> | 2024-05-10 09:26:53 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2024-05-10 09:26:53 +0000 |
commit | 8292aa7a18da4d4f5b927bf396479f460ff6d041 (patch) | |
tree | a3d3d4bd3dcaa43918b8b7265e9699bb9a307f9b /src | |
parent | a8c43830f2bdfe7777350646040f70285a665e9f (diff) | |
download | sqlite-8292aa7a18da4d4f5b927bf396479f460ff6d041.tar.gz sqlite-8292aa7a18da4d4f5b927bf396479f460ff6d041.zip |
Squelch two OMIT-flag-related warnings reported in [forum:388243d9882067a9|forum post 388243d9882067a9]. No functional changes.
FossilOrigin-Name: 1d6716054d7fc50df237996c3db30e5fb8e32acbf48cb8b9af472360515945c4
Diffstat (limited to 'src')
-rw-r--r-- | src/sqliteInt.h | 2 | ||||
-rw-r--r-- | src/vdbeaux.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 0d33f9ee2..0da289d52 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -5267,7 +5267,9 @@ void sqlite3ErrorWithMsg(sqlite3*, int, const char*,...); void sqlite3Error(sqlite3*,int); void sqlite3ErrorClear(sqlite3*); void sqlite3SystemError(sqlite3*,int); +#if !defined(SQLITE_OMIT_BLOB_LITERAL) void *sqlite3HexToBlob(sqlite3*, const char *z, int n); +#endif u8 sqlite3HexToInt(int h); int sqlite3TwoPartName(Parse *, Token *, Token *, Token **); diff --git a/src/vdbeaux.c b/src/vdbeaux.c index e5c830343..e4c174e3f 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -3355,9 +3355,9 @@ int sqlite3VdbeHalt(Vdbe *p){ /* Check for immediate foreign key violations. */ if( p->rc==SQLITE_OK || (p->errorAction==OE_Fail && !isSpecialError) ){ - sqlite3VdbeCheckFk(p, 0); + (void)sqlite3VdbeCheckFk(p, 0); } - + /* If the auto-commit flag is set and this is the only active writer ** VM, then we do either a commit or rollback of the current transaction. ** |