diff options
author | Niels Möller <nisse@lysator.liu.se> | 2016-09-03 21:22:06 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2016-09-03 21:22:06 +0200 |
commit | a0fee5a519392e3a030fd5b8c616afd61cd580e2 (patch) | |
tree | ce9d6183848eb1eca47bbc50b2b98223fdb7cd0e /examples | |
parent | a0aa1c61c3109de3001e0052194c65c592f51733 (diff) | |
download | nettle-a0fee5a519392e3a030fd5b8c616afd61cd580e2.tar.gz |
Delete an unused function.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ecc-benchmark.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/ecc-benchmark.c b/examples/ecc-benchmark.c index 15df4c7f..8e5e0953 100644 --- a/examples/ecc-benchmark.c +++ b/examples/ecc-benchmark.c @@ -52,17 +52,6 @@ #define BENCH_INTERVAL 0.1 -static void NORETURN PRINTF_STYLE(1,2) -die(const char *format, ...) -{ - va_list args; - va_start(args, format); - vfprintf(stderr, format, args); - va_end(args); - - exit(EXIT_FAILURE); -} - static void * xalloc (size_t size) { |