diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-07-14 06:06:46 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-14 06:06:46 +0200 |
commit | feb36e2d5b0edb882e152c1fd958166e22eb0cbd (patch) | |
tree | 7a7aed1aa5757d7b0925e6303e03efffa3a6e361 /src/util.h | |
parent | 3d1dd9d452e341e65a4a96c5ed77cc693dcdc673 (diff) | |
download | ofono-feb36e2d5b0edb882e152c1fd958166e22eb0cbd.tar.bz2 |
Fix stupid false positive warnings about uninitialized variables
The GCC check for uninitialized variables is so useful that dealing
with the false positives is just a minor inconvenience.
The following GCC trick helps to silence them:
#define uninitialized_var(x) x = x
This way no code obfuscation is needed to compile smoothly and the
code stays readable. And the author has to actually think about it.
Diffstat (limited to 'src/util.h')
0 files changed, 0 insertions, 0 deletions