mirror of
https://github.com/lz4/lz4.git
synced 2024-11-27 03:48:08 +08:00
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:
parent
46d12d661e
commit
f7e95939e8
@ -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++; }
|
||||
|
Loading…
Reference in New Issue
Block a user