Commit 916d3bb1 authored by Tim Ruehsen's avatar Tim Ruehsen Committed by Niels Möller

nettle-benchmark: Use PRINTF_STYLE attribute.

parent 7d459763
2012-09-10 Niels Möller <nisse@lysator.liu.se>
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.
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment