diff options
author | Yunlian Jiang <yunlian@google.com> | 2015-04-20 09:38:56 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-04-20 23:02:02 +0000 |
commit | e4f8b16a62fcecfd1bcb3007143f4c6071db84aa (patch) | |
tree | 62edec5c404ff173df53fd358fe7124e9ac0dbdb | |
parent | d02620a05d071dabdeebe83a1e17091c89748e99 (diff) | |
download | chrome-ec-e4f8b16a62fcecfd1bcb3007143f4c6071db84aa.tar.gz |
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>
-rw-r--r-- | util/lbcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lbcc.c b/util/lbcc.c index d35e05701a..3d705f68ca 100644 --- a/util/lbcc.c +++ b/util/lbcc.c @@ -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); } |