diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-10-26 14:14:58 +0100 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2015-10-26 16:02:23 +0100 |
commit | 617d5161d4ec454afc673ce1836b02f82435b347 (patch) | |
tree | cc175d72bb51ba09aa8e56c2f1818f9cea9e2567 | |
parent | f775337a7d4ca1c0be8eab683d0d753cbaee49e2 (diff) | |
download | sssd-617d5161d4ec454afc673ce1836b02f82435b347.tar.gz sssd-617d5161d4ec454afc673ce1836b02f82435b347.tar.xz sssd-617d5161d4ec454afc673ce1836b02f82435b347.zip |
sbus_codegen_tests: Suppress warning Wmaybe-uninitialized
There is a warning with gcc 4.8
src/tests/sbus_codegen_tests.c:1131:18: warning: 'exp_values' may be used
uninitialized in this function [-Wmaybe-uninitialized]
const char **exp_values;
^
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
-rw-r--r-- | src/tests/sbus_codegen_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/sbus_codegen_tests.c b/src/tests/sbus_codegen_tests.c index 86424116b..53b5d6fcf 100644 --- a/src/tests/sbus_codegen_tests.c +++ b/src/tests/sbus_codegen_tests.c @@ -1128,7 +1128,7 @@ START_TEST(test_get_array_dict_sas) const char *value; const char *hash_content[2][2] = {{"hello1", "world1"}, {"hello2", "world2"}}; - const char **exp_values; + const char **exp_values = NULL; int i; ctx = talloc_new(NULL); |