From 0f3bcd29364406c0fb869c88ab2ff9c251c33668 Mon Sep 17 00:00:00 2001 From: Eunhae Choi Date: Mon, 17 Sep 2018 14:13:02 +0900 Subject: [PATCH] gstinfo: fix build warning Change-Id: Id198f37399dcf2afee8ffdbbbd699d741588a84a --- gst/gstinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 4184aba..46edf0f 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -1150,7 +1150,9 @@ gst_debug_log_default (GstDebugCategory * category, GstDebugLevel level, GstClockTime elapsed; gchar *obj = NULL; GstDebugColorMode color_mode; +#if defined(G_OS_WIN32) || !defined(USE_DLOG) FILE *log_file = user_data ? user_data : stderr; +#endif gchar c; /* __FILE__ might be a file name or an absolute path or a -- 2.7.4