mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
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 6812765891.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user