[PATCH] initializing members

Lubomir I. Ivanov neolit123 at gmail.com
Mon Mar 23 08:31:54 PDT 2015


On 23 March 2015 at 06:43, Marcos Cardinot <mcardinot at gmail.com> wrote:

> Hi,
>
> The attached patches initialize some members in several classes of the
> qt-ui package...
>
>
hello,

do these patches have the idea to solve compiler warnings (what GCC version
and -W level) or potentially dangerous lack of initialization (according to
you)?
if no to both, perhaps we should leave these changes out.

for instance about 008, the setup() is called in the constructor which will
surely *not* leave the variable uninitialized.

lubomir
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150323/64415619/attachment-0001.html>


More information about the subsurface mailing list