summaryrefslogtreecommitdiffstats
path: root/src/journal/test-journal-interleaving.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-09-18 00:30:47 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-09-18 01:08:51 +0200
commit1dc2ced4646a78b3dee9e3ea44130f938d6425bc (patch)
tree74a9c4aee3b0dd50b8d2f6800915e3e43b302e47 /src/journal/test-journal-interleaving.c
parentlogind: fix build for ARM with sizeof(dev_t) > sizeof(void*) (diff)
downloadsystemd-1dc2ced4646a78b3dee9e3ea44130f938d6425bc.tar.xz
systemd-1dc2ced4646a78b3dee9e3ea44130f938d6425bc.zip
Remove six unused variables and add annotation
clang FTW!
Diffstat (limited to 'src/journal/test-journal-interleaving.c')
-rw-r--r--src/journal/test-journal-interleaving.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/test-journal-interleaving.c b/src/journal/test-journal-interleaving.c
index 2b21523f57..1a058eaedd 100644
--- a/src/journal/test-journal-interleaving.c
+++ b/src/journal/test-journal-interleaving.c
@@ -36,7 +36,7 @@
static bool arg_keep = false;
-static void log_assert_errno(const char *text, int eno, const char *file, int line, const char *func) {
+_noreturn_ static void log_assert_errno(const char *text, int eno, const char *file, int line, const char *func) {
log_meta(LOG_CRIT, file, line, func,
"'%s' failed at %s:%u (%s): %s.",
text, file, line, func, strerror(eno));