validate: Add missing return func when GLib < 2.50

CID 1463854

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/200>
This commit is contained in:
Thibault Saunier 2020-05-27 19:35:26 -04:00
parent 012288910b
commit 0f1dffdcc0

View file

@ -582,8 +582,7 @@ gst_validate_has_colored_output (void)
#endif
#ifdef G_OS_UNIX
if (!isatty (STDOUT_FILENO))
return FALSE;
return isatty (STDOUT_FILENO);
#elif defined(G_OS_WIN32)
return FALSE;
#endif