mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
ec: fix a clang warning by use a unused variable.
This uses the variable 'usage' in an error message to fix a clang warning. BUG=chromium:475960 TEST=CC=x86_64-cros-linux-gnu-clang emerge-falco ec-devutils BRANCH=none Signed-off-by: yunlian@chromium.org Change-Id: Ic5703636040805661c7b81b83fc182e127ceab8c Reviewed-on: https://chromium-review.googlesource.com/266404 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Tested-by: Yunlian Jiang <yunlian@chromium.org> Commit-Queue: Yunlian Jiang <yunlian@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
d02620a05d
commit
e4f8b16a62
@@ -630,7 +630,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (errorcnt) {
|
||||
fprintf(stderr, "\nUsage: %s [options] ...\n\n", progname);
|
||||
fprintf(stderr, usage, progname);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user