Files
heimdal/lib
Andrew Bartlett c6df77a2cb Initialise err in hdb_create()
On Ubuntu 20.04 with gcc version 9.3.0 during a strict
Samba build with -Werror=maybe-uninitialized we get:

../../source4/heimdal/lib/hdb/hdb.c: In function ‘hdb_create’:
../../source4/heimdal/lib/hdb/hdb.c:831:13: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  831 |     if (*db && ret == 0)
      |         ~~~~^~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2021-07-06 10:06:54 +10:00
..
2021-07-06 10:06:54 +10:00
2017-03-10 15:47:43 -05:00
2016-11-08 15:48:40 -05:00
2021-06-22 13:01:24 -05:00
2020-11-06 12:55:31 -05:00
2020-10-27 13:30:57 -05:00
2016-12-15 12:15:56 -06:00