tests: remove dummy initialization

The variables are already explicitly initialized.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
macos/master
Emil Velikov 6 years ago committed by Gert Wollny
parent d39606a0d3
commit 4fdc38b260
  1. 4
      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);

Loading…
Cancel
Save