[PATCH] ctdb-tests: Fix CTDB -O3 --picky-developer build on CentOS 7

Andreas Schneider asn at samba.org
Thu Sep 6 11:00:47 UTC 2018


On Thursday, 6 September 2018 09:24:16 CEST Andreas Schneider via samba-
technical wrote:
> On Thursday, 6 September 2018 08:19:28 CEST Martin Schwenke via samba-
> 
> technical wrote:
> > gcc 4.8.5 complains:
> > 
> > [319/381] Compiling ctdb/tests/src/system_socket_test.c
> > ../tests/src/system_socket_test.c: In function ‘test_tcp’:
> > ../tests/src/system_socket_test.c:196:20: error: ‘rst_out’ may be used
> > uninitialized in this function [-Werror=maybe-uninitialized] assert((rst
> > !=
> > 0) == (rst_out != 0));
> > 
> >                     ^
> > 
> > cc1: all warnings being treated as errors
> > 
> > Please review and maybe push...
> 
> RB+

Pushed to autobuild


-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list