From f691a68c069bbd32c938249f3dbd4a1d112e5c97 Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Tue, 5 Aug 2025 20:38:57 +0200 Subject: [PATCH] Fix compiler warning Fixes: simft990.c:39:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] --- simulators/simft990.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulators/simft990.c b/simulators/simft990.c index f10cf27fb..0ad0c0d8f 100644 --- a/simulators/simft990.c +++ b/simulators/simft990.c @@ -36,7 +36,7 @@ static void load_dat(const char *filename, unsigned char buf[1492]) sscanf(p, "%x", &val); buf[n++] = val; } - while (p = strtok(NULL, " \r\n")); + while ((p = strtok(NULL, " \r\n"))); strtok(s, "\r\n"); //printf("n=%d, %s\n",n,s);