diff options
Diffstat (limited to 'auto_tests/conference_invite_merge_test.c')
-rw-r--r-- | auto_tests/conference_invite_merge_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/auto_tests/conference_invite_merge_test.c b/auto_tests/conference_invite_merge_test.c index e7ec499c..21445525 100644 --- a/auto_tests/conference_invite_merge_test.c +++ b/auto_tests/conference_invite_merge_test.c | |||
@@ -91,9 +91,11 @@ static void reload(Tox **toxes, State *state, uint32_t n) | |||
91 | ck_assert(state[n].save_state != nullptr); | 91 | ck_assert(state[n].save_state != nullptr); |
92 | 92 | ||
93 | struct Tox_Options *const options = tox_options_new(nullptr); | 93 | struct Tox_Options *const options = tox_options_new(nullptr); |
94 | ck_assert(options != nullptr); | ||
94 | tox_options_set_savedata_type(options, TOX_SAVEDATA_TYPE_TOX_SAVE); | 95 | tox_options_set_savedata_type(options, TOX_SAVEDATA_TYPE_TOX_SAVE); |
95 | tox_options_set_savedata_data(options, state[n].save_state, state[n].save_size); | 96 | tox_options_set_savedata_data(options, state[n].save_state, state[n].save_size); |
96 | toxes[n] = tox_new_log(options, nullptr, &state[n].index); | 97 | toxes[n] = tox_new_log(options, nullptr, &state[n].index); |
98 | ck_assert(toxes[n] != nullptr); | ||
97 | tox_options_free(options); | 99 | tox_options_free(options); |
98 | 100 | ||
99 | set_mono_time_callback(toxes[n], &state[n]); | 101 | set_mono_time_callback(toxes[n], &state[n]); |