chiark / gitweb /
journal: fix compiler warning in real_journal_next()
authorDaniel Mack <zonque@gmail.com>
Thu, 20 Feb 2014 16:21:13 +0000 (17:21 +0100)
committerDaniel Mack <zonque@gmail.com>
Thu, 20 Feb 2014 16:21:13 +0000 (17:21 +0100)
commita002d44b008acd309987c37eb48009e3125a532c
tree17daabb81e70c2b231f276ad80cd312056ade769
parentc94d7fc3cefa16f6b715d469b7aa93c39c649b3c
journal: fix compiler warning in real_journal_next()

gcc (4.8.2, arm) does not understand that next_beyond_location() will
always set 'p' when it returns > 0. Initialize p in order to fix this.
src/journal/sd-journal.c