-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use else-if construction where else part is commented out
(refactoring) Issue #364 (bdwgc). Otherwise such else-if construction is formatted differently by different clang-format versions. * pthread_support.c [CAN_HANDLE_FORK] (GC_setup_atfork): Always follow commented out "else" with a block (instead of /* else */ if). * pthread_support.c [GC_PTHREADS] (GC_register_my_thread): Likewise. * reclaim.c (GC_reclaim_generic): Likewise. * pthread_support.c [GC_ASSERTIONS && GC_WIN32_THREADS && !USE_PTHREAD_LOCKS] (NUMERIC_THREAD_ID): Add extra parentheses before 2nd cast.
- Loading branch information
Showing
2 changed files
with
33 additions
and
26 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