unit-tests: Fix a compiler warning in identification tests
authorMartin Willi <martin@revosec.ch>
Tue, 15 Oct 2013 13:15:45 +0000 (15:15 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 6 Nov 2013 09:31:01 +0000 (10:31 +0100)
src/libstrongswan/tests/suites/test_identification.c

index 1dc6776..edf53f0 100644 (file)
@@ -179,7 +179,7 @@ static struct {
 START_TEST(test_from_string)
 {
        identification_t *a;
-       chunk_t encoding, expected;
+       chunk_t encoding, expected = chunk_empty;
        char *id;
 
        id = string_data[_i].id;