diff options
author | dan <dan@noemail.net> | 2017-07-18 20:17:52 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2017-07-18 20:17:52 +0000 |
commit | a18532353c3d2f87d8b739e30ec0d55437aa8d8c (patch) | |
tree | 6d77caa01a9d656323ba9c6d41ca3e219e1adeac /ext/misc/unionvtab.c | |
parent | 859e4a73b73085cd236e5d39d18f10c3445117fd (diff) | |
download | sqlite-a18532353c3d2f87d8b739e30ec0d55437aa8d8c.tar.gz sqlite-a18532353c3d2f87d8b739e30ec0d55437aa8d8c.zip |
Remove an unused variable from unionvtab.c.
FossilOrigin-Name: a447fdf182c9090ca5b6c9c13147ae4b78d22d67f416ee7a0436ca408284c8fe
Diffstat (limited to 'ext/misc/unionvtab.c')
-rw-r--r-- | ext/misc/unionvtab.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/misc/unionvtab.c b/ext/misc/unionvtab.c index d95790183..eb17db78b 100644 --- a/ext/misc/unionvtab.c +++ b/ext/misc/unionvtab.c @@ -416,7 +416,6 @@ static int unionConnect( }else{ int nAlloc = 0; /* Allocated size of pTab->aSrc[] */ sqlite3_stmt *pStmt = 0; /* Argument statement */ - char *zSql = 0; /* SQL statement */ char *zArg = unionStrdup(&rc, argv[3]); /* Copy of argument to CVT */ /* Prepare the SQL statement. Instead of executing it directly, sort @@ -470,8 +469,6 @@ static int unionConnect( } unionFinalize(&rc, pStmt); pStmt = 0; - sqlite3_free(zSql); - zSql = 0; /* Verify that all source tables exist and have compatible schemas. */ if( rc==SQLITE_OK ){ @@ -495,7 +492,6 @@ static int unionConnect( } unionFinalize(&rc, pStmt); - sqlite3_free(zSql); } if( rc!=SQLITE_OK ){ |