Don't compare booleans for equality to TRUE and FALSE
[platform/upstream/gstreamer.git] / gst / gstinfo.c
index 2c3f01c..ffff06d 100644 (file)
@@ -1799,7 +1799,7 @@ gst_debug_set_threshold_from_string (const gchar * list, gboolean reset)
 
   g_assert (list);
 
-  if (reset == TRUE)
+  if (reset)
     gst_debug_set_default_threshold (0);
 
   split = g_strsplit (list, ",", 0);