summaryrefslogtreecommitdiff
path: root/src/iterators.cc
diff options
context:
space:
mode:
authorØyvind A. Holm <sunny@sunbase.org>2017-04-17 00:02:01 +0200
committerØyvind A. Holm <sunny@sunbase.org>2017-04-17 00:02:01 +0200
commit0a401f2ff037a35f779b21a2fdb5974c7396e9ef (patch)
treec2f19525c5d9e66ff727c0bb2df33c698d2160da /src/iterators.cc
parentb41454477a0576952f77a20ee32c38eb1b9c1442 (diff)
downloadfork-ledger-0a401f2ff037a35f779b21a2fdb5974c7396e9ef.tar.gz
fork-ledger-0a401f2ff037a35f779b21a2fdb5974c7396e9ef.tar.bz2
fork-ledger-0a401f2ff037a35f779b21a2fdb5974c7396e9ef.zip
Remove compiler warning about missing braces
Remove the following warning from gcc 5.4.0: "[...]/src/output.cc:335:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]". Instead of adding braces around the whole function body, return early if item.metadata is 0.
Diffstat (limited to 'src/iterators.cc')
0 files changed, 0 insertions, 0 deletions