Suspicious if/else constructs
Stefan Fuchs
sfuchs at gmx.de
Sat Nov 18 13:05:59 PST 2017
Hallo Berthold,
Am 18.11.2017 um 21:50 schrieb Berthold Stoeger:
> In qt-models/diveplannermodel.cpp:341, the if is indented as if it was part of
> the outer if. But it isn't owing to missing braces. Since I don't know the
> meaning of "value", I can't decide in this case...
Ups, that is a mistake introduced by me - thanks for catching it!
Correct would be to unindent line 340-342.
Fell free to correct this otherwise I also can do it (tomorrow)...
Best regards
Stefan
--
Stefan Fuchs
E-Mail: sfuchs at gmx.de <mailto:sfuchs at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171118/22923bac/attachment.html>
More information about the subsurface
mailing list