]> git.sesse.net Git - cubemap/commit
Check the return value of fclose() in config.cpp.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 24 Apr 2014 22:41:44 +0000 (00:41 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 24 Apr 2014 22:41:44 +0000 (00:41 +0200)
commit98b8cb22fe22f6a8b46a47cd5fa00dcf2bcd6fd5
tree8a45b88b89cbf766900d497f92f896d7e7501eab
parent5cc8cd703a637e276c2595953878fd9561592bfa
Check the return value of fclose() in config.cpp.

It's unclear to me exactly how this could fail for a read-only file,
but it's good practice nevertheless.

Found by Coverity Scan.
config.cpp