From: Evgeny Vereshchagin Date: Mon, 29 Oct 2018 15:21:58 +0000 (+0000) Subject: journal: drop an unused variable clang is complaining about X-Git-Tag: v240~448^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0f768c356ff633f4f7210563abddb59bc37b909;p=thirdparty%2Fsystemd.git journal: drop an unused variable clang is complaining about ../../src/systemd/src/journal/journal-file.c:3592:30: warning: unused variable 'p' [-Wunused-variable] _cleanup_free_ char *p = NULL; ^ 1 warning generated. This is a follow-up to 681276589159fa08e0a. --- diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index c4addc6283e..14da087f24a 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -3589,7 +3589,6 @@ int journal_file_open_reliably( JournalFile *template, JournalFile **ret) { - _cleanup_free_ char *p = NULL; int r; r = journal_file_open(-1, fname, flags, mode, compress, compress_threshold_bytes, seal, metrics, mmap_cache,