From: Tim Ruehsen Date: Mon, 10 Sep 2012 07:25:19 +0000 (+0200) Subject: nettle-benchmark: Use PRINTF_STYLE attribute. X-Git-Tag: nettle_2.6_release_20130116~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=916d3bb181e09711ccf55c5e8e58d4e68e39718b;p=thirdparty%2Fnettle.git nettle-benchmark: Use PRINTF_STYLE attribute. --- diff --git a/ChangeLog b/ChangeLog index 8207498f..b6eea253 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2012-09-10 Niels Möller From Tim Rühsen: + * examples/nettle-benchmark.c (die): Use PRINTF_STYLE attribute. * pgp-encode.c (pgp_put_rsa_sha1_signature): Deleted unused variable. * rsa2openpgp.c (rsa_keypair_to_openpgp): Likewise. * examples/base16enc.c (main): Deleted useless allocations. diff --git a/examples/nettle-benchmark.c b/examples/nettle-benchmark.c index 48e53d06..3d078686 100644 --- a/examples/nettle-benchmark.c +++ b/examples/nettle-benchmark.c @@ -96,7 +96,7 @@ static double frequency = 0.0; #define BENCH_ITERATIONS 10 #endif -static void NORETURN +static void NORETURN PRINTF_STYLE(1,2) die(const char *format, ...) { va_list args;