From d2ba8cf667bfe3afc9000e97069daa9f6a72b04f Mon Sep 17 00:00:00 2001 From: czurnieden Date: Mon, 4 Jan 2021 05:38:52 +0100 Subject: [PATCH] Initialized "cmd" (and "buf" for symmetry) to sooth clang >= 8 --- demo/mtest_opponent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/mtest_opponent.c b/demo/mtest_opponent.c index 25d9b5b9..f0e7212f 100644 --- a/demo/mtest_opponent.c +++ b/demo/mtest_opponent.c @@ -59,8 +59,8 @@ static int s_mp_get_token(char *s, int size, FILE *stream) static int mtest_opponent(void) { - char cmd[4096]; - char buf[4096]; + char cmd[4096] = {0}; + char buf[4096] = {0}; int ix; unsigned rr; mp_int a, b, c, d, e, f;