Skip to content

Commit 4050cc0

Browse files
jpnurmiclaude
andcommitted
fix(test): fix warn_unused_result warning in test_retry
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fcbcf47 commit 4050cc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/test_retry.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ write_retry_file(const sentry_run_t *run, uint64_t timestamp, int retry_count,
6262

6363
sentry_path_t *path
6464
= sentry__run_make_cache_path(run, timestamp, retry_count, uuid);
65-
(void)sentry_envelope_write_to_path(envelope, path);
65+
TEST_CHECK_INT_EQUAL(sentry_envelope_write_to_path(envelope, path), 0);
6666
sentry__path_free(path);
6767
sentry_envelope_free(envelope);
6868
}

0 commit comments

Comments
 (0)