Skip to content

Commit 9d4999d

Browse files
committed
[erts] Fix harmless initialization bug
1 parent 412bff5 commit 9d4999d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

erts/emulator/beam/erl_proc_sig_queue.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9021,11 +9021,9 @@ erts_proc_sig_queue_try_enqueue_to_buffer(Eterm from,
90219021
int nonmsg = ERTS_SIG_IS_NON_MSG(first);
90229022
int restarted = 0;
90239023
ErtsSignalInQueueBuffer* buffer;
9024-
Uint64 nonempty_slots_before;
9024+
Uint64 nonempty_slots_before = 0;
90259025
Uint32 slot, state;
90269026

9027-
ERTS_UNDEF(nonempty_slots_before, 0);
9028-
90299027
ASSERT(is_value(from));
90309028

90319029
/* Use the sender id to hash to an outer signal queue buffer. This

0 commit comments

Comments
 (0)