Commit 4d756c68 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Win32: avoid warning about "pidfile"

parent 87d88aa8
...@@ -197,10 +197,12 @@ int libvlc_InternalAddIntf(libvlc_int_t *libvlc, const char *name) ...@@ -197,10 +197,12 @@ int libvlc_InternalAddIntf(libvlc_int_t *libvlc, const char *name)
char *intf = var_InheritString(libvlc, "intf"); char *intf = var_InheritString(libvlc, "intf");
if (intf == NULL) /* "intf" has not been set */ if (intf == NULL) /* "intf" has not been set */
{ {
#if !defined(_WIN32) && !defined(__OS2__)
char *pidfile = var_InheritString(libvlc, "pidfile"); char *pidfile = var_InheritString(libvlc, "pidfile");
if (pidfile != NULL) if (pidfile != NULL)
free(pidfile); free(pidfile);
else else
#endif
msg_Info(libvlc, _("Running vlc with the default interface. " msg_Info(libvlc, _("Running vlc with the default interface. "
"Use 'cvlc' to use vlc without interface.")); "Use 'cvlc' to use vlc without interface."));
} }
......
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