Loading changes/bug34077 0 → 100644 +3 −0 Original line number Diff line number Diff line o Minor bugfixes (compiler warnings): - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix on 0.4.0.3-alpha. src/feature/dirauth/shared_random_state.c +2 −1 Original line number Diff line number Diff line Loading @@ -1066,8 +1066,9 @@ sr_state_set_valid_after(time_t valid_after) sr_phase_t sr_state_get_phase(void) { void *ptr; void *ptr=NULL; state_query(SR_STATE_ACTION_GET, SR_STATE_OBJ_PHASE, NULL, &ptr); tor_assert(ptr); return *(sr_phase_t *) ptr; } Loading Loading
changes/bug34077 0 → 100644 +3 −0 Original line number Diff line number Diff line o Minor bugfixes (compiler warnings): - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix on 0.4.0.3-alpha.
src/feature/dirauth/shared_random_state.c +2 −1 Original line number Diff line number Diff line Loading @@ -1066,8 +1066,9 @@ sr_state_set_valid_after(time_t valid_after) sr_phase_t sr_state_get_phase(void) { void *ptr; void *ptr=NULL; state_query(SR_STATE_ACTION_GET, SR_STATE_OBJ_PHASE, NULL, &ptr); tor_assert(ptr); return *(sr_phase_t *) ptr; } Loading