diff options
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 |
commit | 0a401f2ff037a35f779b21a2fdb5974c7396e9ef (patch) | |
tree | c2f19525c5d9e66ff727c0bb2df33c698d2160da /src/lookup.h | |
parent | b41454477a0576952f77a20ee32c38eb1b9c1442 (diff) | |
download | fork-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/lookup.h')
0 files changed, 0 insertions, 0 deletions