Skip to content

Instantly share code, notes, and snippets.

@kumpera
Created June 12, 2013 19:51
Show Gist options
  • Select an option

  • Save kumpera/5768513 to your computer and use it in GitHub Desktop.

Select an option

Save kumpera/5768513 to your computer and use it in GitHub Desktop.
In file included from sgen-marksweep-fixed.c:9:
./sgen-marksweep.c:2289:8: warning: variable 'card_data' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (mod_union) {
^~~~~~~~~
./sgen-marksweep.c:2304:20: note: uninitialized use occurs here
card_data_end = card_data + CARDS_PER_BLOCK;
^~~~~~~~~
./sgen-marksweep.c:2289:4: note: remove the 'if' if its condition is always false
if (mod_union) {
^~~~~~~~~~~~~~~~
./sgen-marksweep.c:2279:21: note: initialize the variable 'card_data' to silence this warning
guint8 *card_data, *card_base;
^
= NULL
1 warning generated.
CC libmonoruntimesgen_la-sgen-marksweep-par.lo
In file included from sgen-marksweep-par.c:9:
./sgen-marksweep.c:2289:8: warning: variable 'card_data' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (mod_union) {
^~~~~~~~~
./sgen-marksweep.c:2304:20: note: uninitialized use occurs here
card_data_end = card_data + CARDS_PER_BLOCK;
^~~~~~~~~
./sgen-marksweep.c:2289:4: note: remove the 'if' if its condition is always false
if (mod_union) {
^~~~~~~~~~~~~~~~
./sgen-marksweep.c:2279:21: note: initialize the variable 'card_data' to silence this warning
guint8 *card_data, *card_base;
^
= NULL
1 warning generated.
CC libmonoruntimesgen_la-sgen-marksweep-fixed-par.lo
In file included from sgen-marksweep-fixed-par.c:10:
./sgen-marksweep.c:2289:8: warning: variable 'card_data' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (mod_union) {
^~~~~~~~~
./sgen-marksweep.c:2304:20: note: uninitialized use occurs here
card_data_end = card_data + CARDS_PER_BLOCK;
^~~~~~~~~
./sgen-marksweep.c:2289:4: note: remove the 'if' if its condition is always false
if (mod_union) {
^~~~~~~~~~~~~~~~
./sgen-marksweep.c:2279:21: note: initialize the variable 'card_data' to silence this warning
guint8 *card_data, *card_base;
^
= NULL
1 warning generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment