chiark / gitweb /
journal: fix compiler warning in journal_file_append_data()
authorDaniel Mack <zonque@gmail.com>
Thu, 20 Feb 2014 16:24:36 +0000 (17:24 +0100)
committerDaniel Mack <zonque@gmail.com>
Thu, 20 Feb 2014 16:24:36 +0000 (17:24 +0100)
commit748db5928c573fd699cd88f32fe21a456fa46d3e
treee875be935b52d4fe5ecffd18a497c74607a3dc40
parenta002d44b008acd309987c37eb48009e3125a532c
journal: fix compiler warning in journal_file_append_data()

gcc (4.8.2, arm) does not understand that journal_file_append_field()
will always set 'fo' when it returns 0, so this warning is bogus.

Anyway, fix it by initialiting fo = NULL.
src/journal/journal-file.c