commit | b882ba7bd0840db234eb84c27665da4b3f4b42b8 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Thu Jan 09 22:56:35 2014 +0100 |
committer | Petr Machata <pmachata@redhat.com> | Fri Jan 10 02:36:53 2014 +0100 |
tree | ff633de25bd481e4b9b86e39511f5500bb15290a | |
parent | dfefa9f057857735a073ea655f5cb34351032c8e [diff] |
Initialize libsym early in trace.c to help the compiler. GCC 4.4.7 isn't smart enough to realize own_libsym will always be zero when it sees the goto done which might jump over the initialization of libsym. And so will produce a warning like: cc1: warnings being treated as errors trace.c: In function ‘ifunc_ret_hit’: trace.c:1433: error: ‘libsym’ may be used uninitialized in this function