mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Revert "SQLITE pedantic fixes (nw)"
No updating of 3rdpaty allowed
This reverts commit 854b341e9f
.
This commit is contained in:
parent
94aa0602d5
commit
519d0beae4
1 changed files with 4692 additions and 4692 deletions
8
3rdparty/sqlite3/sqlite3.c
vendored
8
3rdparty/sqlite3/sqlite3.c
vendored
|
@ -22307,7 +22307,7 @@ SQLITE_PRIVATE int sqlite3ThreadJoin(SQLiteThread *p, void **ppOut){
|
|||
** The following constant value is used by the SQLITE_BIGENDIAN and
|
||||
** SQLITE_LITTLEENDIAN macros.
|
||||
*/
|
||||
/*SQLITE_PRIVATE const int sqlite3one = 1;*/
|
||||
//SQLITE_PRIVATE const int sqlite3one = 1;
|
||||
#endif /* SQLITE_AMALGAMATION */
|
||||
|
||||
/*
|
||||
|
@ -72821,7 +72821,7 @@ case OP_Found: { /* jump, in3 */
|
|||
UnpackedRecord r;
|
||||
char aTempRec[ROUND8(sizeof(UnpackedRecord)) + sizeof(Mem)*4 + 7];
|
||||
|
||||
/* MAME: fixed Visual Studio warning about potentially uninitialized variable with optimizations enabled */
|
||||
// MAME: fixed Visual Studio warning about potentially uninitialized variable with optimizations enabled
|
||||
memset(&r, 0x00, sizeof(UnpackedRecord));
|
||||
|
||||
#ifdef SQLITE_TEST
|
||||
|
@ -93567,9 +93567,9 @@ SQLITE_PRIVATE void sqlite3DeleteFrom(
|
|||
WhereInfo *pWInfo; /* Information about the WHERE clause */
|
||||
Index *pIdx; /* For looping over indices of the table */
|
||||
int iTabCur; /* Cursor number for the table */
|
||||
/* MAME: fixed Visual Studio warning about potentially uninitialized variable with optimizations enabled */
|
||||
// MAME: fixed Visual Studio warning about potentially uninitialized variable with optimizations enabled
|
||||
int iDataCur = 0; /* VDBE cursor for the canonical data source */
|
||||
/* MAME: fixed Visual Studio warning about potentially uninitialized variable with optimizations enabled */
|
||||
// MAME: fixed Visual Studio warning about potentially uninitialized variable with optimizations enabled
|
||||
int iIdxCur = 0; /* Cursor number of the first index */
|
||||
int nIdx; /* Number of indices */
|
||||
sqlite3 *db; /* Main database structure */
|
||||
|
|
Loading…
Reference in a new issue