Fix: remove unused value

This patch fixes the following error from "make staticAnalyze"

datagencli.c:106:21: warning: Value stored to 'size' is never read
                    size=0;
                    ^    ~
This commit is contained in:
Takayuki Matsuoka 2022-08-13 00:46:44 +09:00
parent 46d12d661e
commit f7e95939e8

View File

@ -103,7 +103,6 @@ int main(int argc, char** argv)
return usage(programName);
case 'g':
argument++;
size=0;
size = strtoull(argument, &argument, 10);
if (*argument=='K') { size <<= 10; argument++; }
if (*argument=='M') { size <<= 20; argument++; }