chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
748db59
)
journal: fix compiler warning in journal_file_append_data()
author
Daniel Mack
<zonque@gmail.com>
Thu, 20 Feb 2014 16:24:36 +0000
(17:24 +0100)
committer
Daniel Mack
<zonque@gmail.com>
Thu, 20 Feb 2014 16:24:36 +0000
(17:24 +0100)
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.
No differences found