mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue