]> git.ipfire.org Git - thirdparty/sqlite.git/commit
The code is correct as it contains an assert(3) in the "default" switch
authorrse <rse@noemail.net>
Thu, 20 Sep 2007 08:38:14 +0000 (08:38 +0000)
committerrse <rse@noemail.net>
Thu, 20 Sep 2007 08:38:14 +0000 (08:38 +0000)
commit25c0d1a18a688a9436e500a8313fcd5c85696e59
tree61c04213fbe419464cc0d14954c24cb0d869e09c
parent78d1ef1a51a88c513d5c771cd8315c9aa84e6200
The code is correct as it contains an assert(3) in the "default" switch
case, but GCC 4.3 is not able to detect this and instead complains
with "warning: 'amode' may be used uninitialized in this function".
Hence, although the assert(3) already protects the code here, get rid of
this compiler warning by doing a simple initialization of the "amode"
variable. (CVS 4436)

FossilOrigin-Name: 91831ff2922666b39d8f4ba448982c6763030633
manifest
manifest.uuid
src/os_unix.c