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:
parent
012288910b
commit
0f1dffdcc0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user