提交 4ea81c18 编写于 作者: A Alex Rønne Petersen

Fix a couple of warnings in sgen-cardtable.c.

上级 357afd3e
......@@ -321,8 +321,10 @@ guint8*
sgen_card_table_update_mod_union (guint8 *dest, char *obj, mword obj_size, size_t *out_num_cards)
{
guint8 *start_card = sgen_card_table_get_card_address ((mword)obj);
#ifndef SGEN_HAVE_OVERLAPPING_CARDS
guint8 *end_card = sgen_card_table_get_card_address ((mword)obj + obj_size - 1) + 1;
size_t num_cards, rest_num_cards;
#endif
size_t num_cards;
guint8 *result = NULL;
#ifdef SGEN_HAVE_OVERLAPPING_CARDS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册