src/oping.c: Fix a compiler warning about uninitialized variables.
authorFlorian Forster <octo@verplant.org>
Wed, 16 Feb 2011 08:45:35 +0000 (09:45 +0100)
committerFlorian Forster <octo@verplant.org>
Wed, 16 Feb 2011 08:45:35 +0000 (09:45 +0100)
commitb1ef1b502da11c03a4fbfb228abd017bd2aec613
tree3c1bc086340ab0abd1b6809dcc34c01ea3f94b70
parent81eab3b646c02820d0ee87cd1f1f5950e72ec2a9
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.
src/oping.c