mirror of
https://github.com/holub/mame
synced 2025-06-29 23:48:56 +03:00
Revert "SQLITE pedantic fixes (nw)"
No updating of 3rdpaty allowed
This reverts commit 854b341e9f
.
This commit is contained in:
parent
94aa0602d5
commit
519d0beae4
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
|
** The following constant value is used by the SQLITE_BIGENDIAN and
|
||||||
** SQLITE_LITTLEENDIAN macros.
|
** SQLITE_LITTLEENDIAN macros.
|
||||||
*/
|
*/
|
||||||
/*SQLITE_PRIVATE const int sqlite3one = 1;*/
|
//SQLITE_PRIVATE const int sqlite3one = 1;
|
||||||
#endif /* SQLITE_AMALGAMATION */
|
#endif /* SQLITE_AMALGAMATION */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -72821,7 +72821,7 @@ case OP_Found: { /* jump, in3 */
|
|||||||
UnpackedRecord r;
|
UnpackedRecord r;
|
||||||
char aTempRec[ROUND8(sizeof(UnpackedRecord)) + sizeof(Mem)*4 + 7];
|
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));
|
memset(&r, 0x00, sizeof(UnpackedRecord));
|
||||||
|
|
||||||
#ifdef SQLITE_TEST
|
#ifdef SQLITE_TEST
|
||||||
@ -93567,9 +93567,9 @@ SQLITE_PRIVATE void sqlite3DeleteFrom(
|
|||||||
WhereInfo *pWInfo; /* Information about the WHERE clause */
|
WhereInfo *pWInfo; /* Information about the WHERE clause */
|
||||||
Index *pIdx; /* For looping over indices of the table */
|
Index *pIdx; /* For looping over indices of the table */
|
||||||
int iTabCur; /* Cursor number for 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 */
|
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 iIdxCur = 0; /* Cursor number of the first index */
|
||||||
int nIdx; /* Number of indices */
|
int nIdx; /* Number of indices */
|
||||||
sqlite3 *db; /* Main database structure */
|
sqlite3 *db; /* Main database structure */
|
||||||
|
Loading…
Reference in New Issue
Block a user