[PATCH]

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Tue Jan 9 11:43:11 UTC 2018


Hi Ralph,

On an Ubuntu 16.04 cloud machine, GCC made the complaint in the attached 
patch message. I couldn't find a path that justified the warning, but
the initialisation is harmless and there are going to be people using that
compiler.

(Looking through led me to wonder what would happen after this when size-t
is 32 bit:

	ok = conv_str_u64(&line[matches[1].rm_so], &band_size);
	if (!ok) {
		return false;
	}
	*_band_size = (size_t)band_size;

though I suspect the answer is not much of interest).


cheers,
Douglas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vfs_fruit-initialise-bandsize-to-please-a-compiler.patch
Type: text/x-patch
Size: 2034 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180110/cd61dbef/0001-vfs_fruit-initialise-bandsize-to-please-a-compiler.bin>


More information about the samba-technical mailing list