author | Florian Forster <octo@verplant.org> | |
Wed, 16 Feb 2011 08:45:35 +0000 (09:45 +0100) | ||
committer | Florian Forster <octo@verplant.org> | |
Wed, 16 Feb 2011 08:45:35 +0000 (09:45 +0100) | ||
commit | b1ef1b502da11c03a4fbfb228abd017bd2aec613 | |
tree | 3c1bc086340ab0abd1b6809dcc34c01ea3f94b70 | tree | snapshot |
parent | 81eab3b646c02820d0ee87cd1f1f5950e72ec2a9 | commit | diff |
src/oping.c: Fix a compiler warning about uninitialized variables.
Some verions of GGC don't notice that usage_qos_exit() won't return and
complain about the variables "prec" and "class" being used uninitalized.
This commit adds the "noreturn" attribute to that function and
initializes the variables. Thanks to James Bromberger for reporting this
problem.
Some verions of GGC don't notice that usage_qos_exit() won't return and
complain about the variables "prec" and "class" being used uninitalized.
This commit adds the "noreturn" attribute to that function and
initializes the variables. Thanks to James Bromberger for reporting this
problem.
src/oping.c | diff | blob | history |