mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Fix a compiler warning in the dbserialize method of the TCL interface.
FossilOrigin-Name: ba71d030fef4cd4251dc882acc6897dbf9aaba498652900c491b082add87404f
This commit is contained in:
@@ -2647,8 +2647,10 @@ static int SQLITE_TCLAPI DbObjCmd(
|
||||
for(i=2; i<objc-1; i++){
|
||||
const char *z = Tcl_GetString(objv[i]);
|
||||
if( strcmp(z,"-maxsize")==0 && i<objc-2 ){
|
||||
rc = Tcl_GetWideIntFromObj(interp, objv[++i], &mxSize);
|
||||
Tcl_WideInt x;
|
||||
rc = Tcl_GetWideIntFromObj(interp, objv[++i], &x);
|
||||
if( rc ) goto deserialize_error;
|
||||
mxSize = x;
|
||||
continue;
|
||||
}
|
||||
if( strcmp(z,"-readonly")==0 && i<objc-2 ){
|
||||
|
Reference in New Issue
Block a user