[Gc] Patch to suppress warnings in GC_set/clear_fl_marks

Ivan Maidanski ivmai at mail.ru
Fri Sep 11 00:26:44 PDT 2009


This small patch (ivmai124.diff), superseding diff67 partly [Apr 14], transforms the loops in GC_set_fl_marks() and GC_clear_fl_marks() so that hhdr and sz locals are unconditionally initialized thus preventing compilers to show "might be uninitialized" warnings.

ChangeLog entries:

	* alloc.c (GC_set_fl_marks, GC_clear_fl_marks): Transform loop to
	suppress compiler "variable might be uninitialized" warnings.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ivmai124.diff
Type: application/octet-stream
Size: 2349 bytes
Desc: not available
Url : https://napali.hpl.hp.com/pipermail/gc/attachments/20090911/fea03b2c/ivmai124.obj

More information about the Gc mailing list