tclsqlite

View Ticket
Login
Ticket UUID: d4593fcd904e0b77e1f41125da649cb02a350a6f
Title: compiler warnings
Status: Closed Type: Code_Defect
Severity: Minor Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2015-11-05 22:52:03
Version Found In: 3.9.2
User Comments:
anonymous added on 2015-11-05 13:48:51: (text/x-fossil-plain)
In file included from /home/dgp/fossil/tcl/pkgs/sqlite3/generic/tclsqlite3.c:4:0:
/home/dgp/fossil/tcl/pkgs/sqlite3/generic/../compat/sqlite3/sqlite3.c: In function ‘sqlite3WhereBegin’:
/home/dgp/fossil/tcl/pkgs/sqlite3/generic/../compat/sqlite3/sqlite3.c:67767:5: warning: ‘addrCounter’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   if( addr<0 ){
     ^
/home/dgp/fossil/tcl/pkgs/sqlite3/generic/../compat/sqlite3/sqlite3.c:122119:7: note: ‘addrCounter’ was declared here
   int addrCounter;            /* Address where integer counter is initialized */

jan.nijtmans added on 2015-11-05 22:52:03: (text/x-fossil-plain)
Fixed in [54c7cdb729], cherrypicked from SQLite trunk. Is just a harmless compiler warning, which is in the official 3.9.2 source code as well.