The new sqlite3.c has a potential issue caught by gcc: ./src/sqlite3.c: In function 'sqlite3BtreeBeginTrans': ./src/sqlite3.c:36166: warning: 'nPage' may be used uninitialized in this function ./src/sqlite3.c:36166: note: 'nPage' was declared here
Looking at the code, nPage is initialized by the call to sqlite3PagerPagecount(). However, that function may not always return a value. The safe thing is to initialize nPage to some error value. Another warning I always get is: ./src/sqlite3.c: In function 'fkLookupParent': ./src/sqlite3.c:49083: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true I confess I don't understand this warning, but perhaps it is a useful one... -- For privacy, my GPG key signature is: AD29415D
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

