Use pa_assert_se() when the containing code has side effects.

As reported by rantala. Closes #502 and #503
This commit is contained in:
Colin Guthrie 2009-03-02 13:11:29 +00:00
parent 8a00c00943
commit c08317772b
2 changed files with 2 additions and 2 deletions

View file

@ -487,7 +487,7 @@ static void sink_input_kill_cb(pa_sink_input *i) {
struct output *o;
pa_sink_input_assert_ref(i);
pa_assert(o = i->userdata);
pa_assert_se(o = i->userdata);
pa_module_unload_request(o->userdata->module, TRUE);
output_free(o);