From: Pavel TvrdĂ­k Date: Tue, 29 Mar 2016 08:27:50 +0000 (+0200) Subject: Birdtest: remove bad buffer initialization X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=decab56092c628ee2729550f9f4968d69e72c60b;p=thirdparty%2Fbird.git Birdtest: remove bad buffer initialization --- diff --git a/test/birdtest.h b/test/birdtest.h index 6c53c669d..f1c856974 100644 --- a/test/birdtest.h +++ b/test/birdtest.h @@ -150,7 +150,7 @@ void bt_strncat_(char *buf, size_t buf_size, const char *str, ...); #define bt_print_result_line(fn, in, out, fn_out, in_fmt, out_fmt, result) \ do \ { \ - char buf[BT_BUFFER_SIZE] = ""; \ + char buf[BT_BUFFER_SIZE]; \ snprintf(buf, sizeof(buf), "%s(", #fn); \ bt_dump(buf, in, in_fmt); \ bt_strncat(buf, ") gives "); \