Commit df750c51 authored by François Cartegnie's avatar François Cartegnie 🤞

src: dialog: add assert on getting context

parent ee72a956
......@@ -744,6 +744,7 @@ vlc_dialog_id_set_context(vlc_dialog_id *p_id, void *p_context)
void *
vlc_dialog_id_get_context(vlc_dialog_id *p_id)
assert(p_id != NULL);
void *p_context = p_id->p_context;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment