forked from ivmai/bdwgc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn some unreachable return statements into reachable (to suppress
compiler warning) * dbg_mlc.c (GC_generate_random_heap_address): Change function algorithm structure to have reachable return statement at function end. * mark.c (GC_mark_some): Likewise. * os_dep.c (GC_mprotect_thread): Place a dummy return statement (which uses function "arg"); remove unreachable return statement. * win32_threads.c (GC_DllMain): Place GC_ASSERT before GC_get_stack_base.
- Loading branch information
Showing
4 changed files
with
31 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters