diff options
author | drh <drh@noemail.net> | 2011-03-06 21:28:32 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-03-06 21:28:32 +0000 |
commit | c126e63e4fda95f47ffe1cb294b5417c7a46c223 (patch) | |
tree | 65b7a94b2892db277a1111c79ae476b444767043 /src/fkey.c | |
parent | d7255a207eab440617f4603b016350f075a9bf8b (diff) | |
download | sqlite-c126e63e4fda95f47ffe1cb294b5417c7a46c223.tar.gz sqlite-c126e63e4fda95f47ffe1cb294b5417c7a46c223.zip |
Remove dead code identified by the clang static analyzer.
FossilOrigin-Name: 01a79d5a7af48fb7e50291c0c7c6283d3fb359d0
Diffstat (limited to 'src/fkey.c')
-rw-r--r-- | src/fkey.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fkey.c b/src/fkey.c index a385b814e..653cc1833 100644 --- a/src/fkey.c +++ b/src/fkey.c @@ -687,7 +687,6 @@ void sqlite3FkCheck( int regNew /* New row data is stored here */ ){ sqlite3 *db = pParse->db; /* Database handle */ - Vdbe *v; /* VM to write code to */ FKey *pFKey; /* Used to iterate through FKs */ int iDb; /* Index of database containing pTab */ const char *zDb; /* Name of database containing pTab */ @@ -699,7 +698,6 @@ void sqlite3FkCheck( /* If foreign-keys are disabled, this function is a no-op. */ if( (db->flags&SQLITE_ForeignKeys)==0 ) return; - v = sqlite3GetVdbe(pParse); iDb = sqlite3SchemaToIndex(db, pTab->pSchema); zDb = db->aDb[iDb].zName; |