Skip to content

config: fix mistimed sanity check

Lyndon Brown requested to merge jnqnfe/vlc:config_nullchk into master

A null check of param needs to be done before it is ever dereferenced, even if you're just setting up a pointer. This is the sort of situation where the compiler might be mislead into thinking that it is safe to optimise the sanity check away.

Merge request reports