chiark / gitweb /
core: avoid compiler warning when compiling with -fexceptions
authorThomas Haller <thaller@redhat.com>
Sat, 27 Feb 2016 12:40:50 +0000 (13:40 +0100)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:57 +0000 (10:12 +0200)
commit5d559868f20ed2104607189556d5f64978a0fad2
treeaa1f80427796ad52b1b72e62da684adfa22134e4
parent97f445d2438a6bd711e54cc7140d8fed633607be
core: avoid compiler warning when compiling with -fexceptions

Initialize auto variables with cleanup attribute, otherwise we
get a compiler warning with -fexceptions.

    ./configure CFLAGS='-Wmaybe-uninitialized -fexceptions -O2'
src/basic/fileio.c