gstinfo: fix build warning 31/189331/1 accepted/tizen/5.0/unified/20181102.025516 accepted/tizen/unified/20180918.062818 submit/tizen/20180917.051918 submit/tizen_5.0/20181101.000006
authorEunhae Choi <eunhae1.choi@samsung.com>
Mon, 17 Sep 2018 05:13:02 +0000 (14:13 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Mon, 17 Sep 2018 05:13:02 +0000 (14:13 +0900)
Change-Id: Id198f37399dcf2afee8ffdbbbd699d741588a84a

gst/gstinfo.c

index 4184aba..46edf0f 100644 (file)
@@ -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