diff options
| author | Daniel P. Berrange <berrange@redhat.com> | 2012-03-13 16:11:03 +0000 |
|---|---|---|
| committer | Daniel P. Berrange <berrange@redhat.com> | 2012-04-25 09:42:15 +0100 |
| commit | 84c7a95c22ba3a0fc5623c7cd66c9793e02ebcf8 (patch) | |
| tree | 95729c06689a8ddcb161c6884486112d45eb01a6 /client/jpeg_decoder.cpp | |
| parent | 3be7df09800f8a823ec307830fd8d3f26f28ffc6 (diff) | |
Avoid jumping across variables declarations with initializers
If a 'goto' statement jumps across a variable declaration
which also has an initializer, the variable is in an undefined
state. Splitting the the declaration & initialization doesn't
change that, but the compiler can at least now detect use of
the unintialized variable
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'client/jpeg_decoder.cpp')
0 files changed, 0 insertions, 0 deletions
