From f7e95939e89a13fb944d38d51469f050b83324c2 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Sat, 13 Aug 2022 00:46:44 +0900 Subject: 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; ^ ~ --- tests/datagencli.c | 1 - 1 file changed, 1 deletion(-) 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++; } -- cgit v0.12