mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <dev@lynxeye.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/4] commands: digest: fix harmless warning
Date: Fri, 26 Jun 2015 20:59:21 +0200	[thread overview]
Message-ID: <1435345163-16565-2-git-send-email-dev@lynxeye.de> (raw)
In-Reply-To: <1435345163-16565-1-git-send-email-dev@lynxeye.de>

Fixes with !CONFIG_LONGHELP:
commands/digest.c:71:13: warning:
'prints_algo_help' defined but not used [-Wunused-function]

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
 commands/digest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/digest.c b/commands/digest.c
index 340c07a..4cc615d 100644
--- a/commands/digest.c
+++ b/commands/digest.c
@@ -68,7 +68,7 @@ err:
 	return ret;
 }
 
-static void prints_algo_help(void)
+static void __maybe_unused prints_algo_help(void)
 {
 	puts("\navailable algo:\n");
 	digest_algo_prints("\t");
-- 
2.1.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2015-06-26 19:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 18:59 [PATCH 1/4] mtd: m25p80: explicitly cast name pointer Lucas Stach
2015-06-26 18:59 ` Lucas Stach [this message]
2015-06-29  5:23   ` [PATCH 2/4] commands: digest: fix harmless warning Sascha Hauer
2015-06-26 18:59 ` [PATCH 3/4] parameter: always build MAC dev param functions Lucas Stach
2015-06-26 18:59 ` [PATCH 4/4] mtd: spi-nor: depend on SPI Lucas Stach
2015-06-29  5:22   ` Sascha Hauer
2015-06-29  5:17 ` [PATCH 1/4] mtd: m25p80: explicitly cast name pointer Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1435345163-16565-2-git-send-email-dev@lynxeye.de \
    --to=dev@lynxeye.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox