Previous 199869 Revisions Next

r36946 Sunday 5th April, 2015 at 07:51:59 UTC by Oliver Stöneberg
fixed Visual Studio compiler warnings in sqlite3 when compiling with optimizations (nw)
[3rdparty/sqlite3]sqlite3.c

trunk/3rdparty/sqlite3/sqlite3.c
r245457r245458
7282172821  UnpackedRecord r;
7282272822  char aTempRec[ROUND8(sizeof(UnpackedRecord)) + sizeof(Mem)*4 + 7];
7282372823
72824  // MAME: fixed Visual Studio warning about potentially uninitialized variable with optimizations enabled
72825  memset(&r, 0x00, sizeof(UnpackedRecord));
72826 
7282472827#ifdef SQLITE_TEST
7282572828  if( pOp->opcode!=OP_NoConflict ) sqlite3_found_count++;
7282672829#endif
r245457r245458
9356493567  WhereInfo *pWInfo;     /* Information about the WHERE clause */
9356593568  Index *pIdx;           /* For looping over indices of the table */
9356693569  int iTabCur;           /* Cursor number for the table */
93567  int iDataCur;          /* VDBE cursor for the canonical data source */
93568  int iIdxCur;           /* Cursor number of the first index */
93570  // MAME: fixed Visual Studio warning about potentially uninitialized variable with optimizations enabled
93571  int iDataCur = 0;      /* VDBE cursor for the canonical data source */
93572  // MAME: fixed Visual Studio warning about potentially uninitialized variable with optimizations enabled
93573  int iIdxCur = 0;       /* Cursor number of the first index */
9356993574  int nIdx;              /* Number of indices */
9357093575  sqlite3 *db;           /* Main database structure */
9357193576  AuthContext sContext;  /* Authorization context */


Previous 199869 Revisions Next


© 1997-2024 The MAME Team