kopia lustrzana https://github.com/Hamlib/Hamlib
Fix compiler warning
Fixes: simft990.c:39:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]pull/1831/head
rodzic
725fcee004
commit
f691a68c06
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue