Skip to content

Commit

Permalink
Suppress warning (uninitialized variable).
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed May 28, 2019
1 parent fa7a768 commit cfd839c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc.c
Expand Up @@ -1088,7 +1088,7 @@ check_rvalue_consistency_force(const VALUE obj, int terminate)
}
else if (!is_pointer_to_heap(objspace, (void *)obj)) {
/* check if it is in tomb_pages */
struct heap_page *page;
struct heap_page *page = NULL;
list_for_each(&heap_tomb->pages, page, page_node) {
if (&page->start[0] <= (RVALUE *)obj &&
(RVALUE *)obj < &page->start[page->total_slots]) {
Expand Down

0 comments on commit cfd839c

Please sign in to comment.