-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround 'uninitialized variable sp passed to APPROX_SP' cppcheck FP
(fix of commit 0fb49af) * include/private/gc_priv.h (APPROX_SP): Rename to STORE_APPROX_SP_TO; change argument type from ptr_t* to ptr_t& (lvalue); update comment. * mark_rts.c (GC_approx_sp): Use STORE_APPROX_SP_TO(sp) instead of APPROX_SP(&sp). * misc.c (GC_call_with_stack_base): Likewise. * misc.c [!THREADS] (GC_call_with_gc_active): Likewise. * pthread_support.c (GC_call_with_gc_active): Likewise. * tools/setjmp_t.c (nested_sp, main): Likewise.
- Loading branch information
Showing
5 changed files
with
12 additions
and
12 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
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