summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-03-13 13:49:08 +0000
committerDaniel P. Berrange <berrange@redhat.com>2012-03-13 14:12:19 +0000
commit545f4f4f1afd0d3ffd0fc4cb81901488d9a6cb75 (patch)
tree99118c30a3b42ed1dc1a55171d255a3159a3b93c /m4
parent6177224a4e56720310365de57b420a77bbaf589c (diff)
Avoid 'goto' jumping over variable initialization
When a goto statement jumps over a variable declaration with an initializer, the state of that variable is undefined. Move the declaration further up, so that the goto doesn't jump over it. This lets the compiler then warn, if the goto jump results in use of undefined values.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions