mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Suppress some -Wextra compiler warnings from GCC. (CVS 6774)
FossilOrigin-Name: 59ec937ce226bbf6c48c5e0466d3bab48873c9ea
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
** May you share freely, never taking more than you give.
|
||||
**
|
||||
*************************************************************************
|
||||
** $Id: btree.c,v 1.632 2009/06/17 11:49:53 danielk1977 Exp $
|
||||
** $Id: btree.c,v 1.633 2009/06/17 13:09:39 drh Exp $
|
||||
**
|
||||
** This file implements a external (disk-based) database using BTrees.
|
||||
** See the header comment on "btreeInt.h" for additional information.
|
||||
@@ -3196,6 +3196,7 @@ int sqlite3BtreeCloseCursor(BtCursor *pCur){
|
||||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
#ifdef SQLITE_TEST
|
||||
/*
|
||||
** Make a temporary cursor by filling in the fields of pTempCur.
|
||||
** The temporary cursor is not on the cursor list for the Btree.
|
||||
@@ -3211,7 +3212,9 @@ void sqlite3BtreeGetTempCursor(BtCursor *pCur, BtCursor *pTempCur){
|
||||
}
|
||||
assert( pTempCur->pKey==0 );
|
||||
}
|
||||
#endif /* SQLITE_TEST */
|
||||
|
||||
#ifdef SQLITE_TEST
|
||||
/*
|
||||
** Delete a temporary cursor such as was made by the CreateTemporaryCursor()
|
||||
** function above.
|
||||
@@ -3224,8 +3227,7 @@ void sqlite3BtreeReleaseTempCursor(BtCursor *pCur){
|
||||
}
|
||||
sqlite3_free(pCur->pKey);
|
||||
}
|
||||
|
||||
|
||||
#endif /* SQLITE_TEST */
|
||||
|
||||
/*
|
||||
** Make sure the BtCursor* given in the argument has a valid
|
||||
|
Reference in New Issue
Block a user