diff options
author | Stefan Weil <sw@weilnetz.de> | 2014-07-07 21:03:38 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-07-18 17:45:37 +0400 |
commit | 748bfb4eee8e699f3d2dd6a95820d1a9e57e4aa6 (patch) | |
tree | befe55dc6ab946c93eae3082d6a013e2ff26754b /tests/test-qemu-opts.c | |
parent | 7a46d042e02e87157c13424df56dd06e9da77e89 (diff) |
tests: Add missing 'static' attributes (fix warnings from smatch)
Smatch also complains about 0 used for pointers, so replace those by
NULL in test-visitor-serialization.c, too.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests/test-qemu-opts.c')
-rw-r--r-- | tests/test-qemu-opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-qemu-opts.c b/tests/test-qemu-opts.c index 3653507f56..ca08ac523d 100644 --- a/tests/test-qemu-opts.c +++ b/tests/test-qemu-opts.c @@ -56,7 +56,7 @@ static QemuOptsList opts_list_02 = { }, }; -QemuOptsList opts_list_03 = { +static QemuOptsList opts_list_03 = { .name = "opts_list_03", .head = QTAILQ_HEAD_INITIALIZER(opts_list_03.head), .desc = { |