mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Additional fixes for harmless compiler warnings that are specific to this
branch. FossilOrigin-Name: 9d8e73bf71e996b810959ffc0e60de69b5e8ca3301df52f9c35d5e9075921798
This commit is contained in:
@@ -970,6 +970,8 @@ static void renameTokenFind(Parse *pParse, struct RenameCtx *pCtx, void *pPtr){
|
||||
** descend into sub-select statements.
|
||||
*/
|
||||
static int renameColumnSelectCb(Walker *pWalker, Select *p){
|
||||
UNUSED_PARAMETER(pWalker);
|
||||
UNUSED_PARAMETER(p);
|
||||
return WRC_Continue;
|
||||
}
|
||||
|
||||
@@ -1104,6 +1106,7 @@ static void renameColumnFunc(
|
||||
int i;
|
||||
Table *pTab;
|
||||
|
||||
UNUSED_PARAMETER(NotUsed);
|
||||
if( zSql==0 ) return;
|
||||
if( zNew==0 ) return;
|
||||
if( zTable==0 ) return;
|
||||
@@ -1345,7 +1348,7 @@ static void renameColumnFunc(
|
||||
int iOff; /* Offset of token to replace in zOut */
|
||||
RenameToken *pBest = renameColumnTokenNext(&sCtx);
|
||||
|
||||
int nReplace;
|
||||
u32 nReplace;
|
||||
const char *zReplace;
|
||||
if( sqlite3IsIdChar(*pBest->t.z) ){
|
||||
nReplace = nNew;
|
||||
|
||||
Reference in New Issue
Block a user