X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmisc%2Fvariables.c;h=9374f3e798b76388117fcc9b4aa1552a609a0206;hb=fd907c9abaa6304442ced84809bdb53600c922ca;hp=6f3e901cc9bc59e6cc3d590a43bceac8668d3957;hpb=fe3cb633a222d1dde3fc300fe654b66a1c9b070c;p=vlc diff --git a/src/misc/variables.c b/src/misc/variables.c index 6f3e901cc9..9374f3e798 100644 --- a/src/misc/variables.c +++ b/src/misc/variables.c @@ -1225,6 +1225,8 @@ int var_Inherit( vlc_object_t *p_this, const char *psz_name, int i_type, case VLC_VAR_BOOL: p_val->b_bool = config_GetInt( p_this, psz_name ); break; + case VLC_VAR_ADDRESS: + return VLC_ENOOBJ; default: msg_Warn( p_this, "Could not inherit value for var %s " "from config. Invalid Type", psz_name );