X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Fsd-journal.c;h=ef455e901da9a3ee62328e2510a18554f5e60e18;hb=020d59000f86b3d98be763eaee6a2671f0427e46;hp=831ab6b4e9b28446812f05e02faf74a40519f096;hpb=581483bf59ea62147739e71dd2216477be03411c;p=elogind.git diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index 831ab6b4e..ef455e901 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -871,9 +871,9 @@ static int next_beyond_location(sd_journal *j, JournalFile *f, direction_t direc static int real_journal_next(sd_journal *j, direction_t direction) { JournalFile *f, *new_file = NULL; uint64_t new_offset = 0; - Object *o; - uint64_t p; + uint64_t p = 0; Iterator i; + Object *o; int r; assert_return(j, -EINVAL); @@ -2293,8 +2293,6 @@ _public_ int sd_journal_process(sd_journal *j) { l -= step; } } - - return determine_change(j); } _public_ int sd_journal_wait(sd_journal *j, uint64_t timeout_usec) {