From 4fdc38b260d30d0968d52fa536978febc91d4ec9 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 18 Jun 2019 16:11:37 +0100 Subject: [PATCH] tests: remove dummy initialization The variables are already explicitly initialized. Signed-off-by: Emil Velikov Reviewed-by: Elie Tournier --- tests/test_virgl_strbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_virgl_strbuf.c b/tests/test_virgl_strbuf.c index ff348cd..7347948 100644 --- a/tests/test_virgl_strbuf.c +++ b/tests/test_virgl_strbuf.c @@ -42,7 +42,7 @@ START_TEST(strbuf_add_small_string) { struct vrend_strbuf sb; bool ret; - char str[27] = {}; + char str[27]; ret = strbuf_alloc(&sb, 1024); ck_assert_int_eq(ret, true); @@ -60,7 +60,7 @@ START_TEST(strbuf_add_small_string_twice) { struct vrend_strbuf sb; bool ret; - char str[27] = {}; + char str[27]; ret = strbuf_alloc(&sb, 1024); ck_assert_int_eq(ret, true);