diff options
author | Takayuki Matsuoka <t-mat@users.noreply.github.com> | 2022-08-12 15:46:44 (GMT) |
---|---|---|
committer | Takayuki Matsuoka <t-mat@users.noreply.github.com> | 2022-08-12 15:46:44 (GMT) |
commit | f7e95939e89a13fb944d38d51469f050b83324c2 (patch) | |
tree | 028e82fab3a9ba6a44bd7868fe403fb2169dc712 /tests | |
parent | 46d12d661edda40bedc0ce38247e170b13575aaf (diff) | |
download | lz4-f7e95939e89a13fb944d38d51469f050b83324c2.zip lz4-f7e95939e89a13fb944d38d51469f050b83324c2.tar.gz lz4-f7e95939e89a13fb944d38d51469f050b83324c2.tar.bz2 |
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;
^ ~
Diffstat (limited to 'tests')
-rw-r--r-- | tests/datagencli.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/datagencli.c b/tests/datagencli.c index 1a99190..2976b53 100644 --- a/tests/datagencli.c +++ b/tests/datagencli.c @@ -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++; } |