1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Initialize a variable to zero to prevent an (incorrect) compiler warning of

it potentially being uninitialized.

FossilOrigin-Name: 65182ce041b30cd0193b958eca975b720fe5200a868baba1e633e49433d86813
This commit is contained in:
drh
2017-06-03 20:09:37 +00:00
parent 5930f663a1
commit 4c88348729
3 changed files with 8 additions and 7 deletions

View File

@@ -524,6 +524,7 @@ void sqlite3Insert(
if( pParse->nErr || db->mallocFailed ){
goto insert_cleanup;
}
dest.iSDParm = 0; /* Suppress a harmless compiler warning */
/* If the Select object is really just a simple VALUES() list with a
** single row (the common case) then keep that one row of values