diff --git a/src/sentry_core.c b/src/sentry_core.c index f37a281e1..108b9581e 100644 --- a/src/sentry_core.c +++ b/src/sentry_core.c @@ -406,7 +406,7 @@ sentry__roll_dice(double probability) sentry_uuid_t sentry__capture_event(sentry_value_t event) { - sentry_uuid_t event_id; + sentry_uuid_t event_id = sentry_uuid_nil(); sentry_envelope_t *envelope = NULL; bool was_captured = false;