Uninitialized variable in profile.c
Robert Helling
helling at atdotde.de
Sun Dec 17 08:03:05 PST 2017
Berthold,
> On 17. Dec 2017, at 14:19, Berthold Stoeger <bstoeger at mail.tuwien.ac.at> wrote:
>
>
> In l.1044 last_ceiling is compared to first_ceiling, but last_ceilng is set
> first in l.1056. I guess decoMode() cannot change in this function, so gcc's
> analysis seems correct.
I guess you and gcc are correct. It should be initialised with 0 upon declaration. Will you do a patch?
Best
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171217/201533a6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 529 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171217/201533a6/attachment-0001.sig>
More information about the subsurface
mailing list