[vlc-commits] [Git][videolan/vlc][master] include: do not use argument checks when building for Coverity
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri May 8 12:27:14 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
c85a5164 by Marvin Scholz at 2026-05-08T12:13:08+00:00
include: do not use argument checks when building for Coverity
The Coverity toolchain is unable to handle these properly yet and gets
confused, throwing a bunch of warnings for these.
- - - - -
1 changed file:
- include/vlc_threads.h
Changes:
=====================================
include/vlc_threads.h
=====================================
@@ -663,7 +663,7 @@ VLC_API void *vlc_threadvar_get(vlc_threadvar_t);
VLC_API int vlc_clone(vlc_thread_t *th, void *(*entry)(void *),
void *data) VLC_USED;
-#if defined(__GNUC__)
+#if defined(__GNUC__) && !defined(__COVERITY__)
static
VLC_UNUSED_FUNC
VLC_WARN_CALL("thread name too big")
@@ -815,7 +815,7 @@ VLC_API void vlc_tick_sleep(vlc_tick_t delay);
#define VLC_HARD_MIN_SLEEP VLC_TICK_FROM_MS(10) /* 10 milliseconds = 1 tick at 100Hz */
#define VLC_SOFT_MIN_SLEEP VLC_TICK_FROM_SEC(9) /* 9 seconds */
-#if defined(__GNUC__)
+#if defined(__GNUC__) && !defined(__COVERITY__)
/* Linux has 100, 250, 300 or 1000Hz
*
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c85a5164193481f16d117c27b3f2310c4ac289aa
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c85a5164193481f16d117c27b3f2310c4ac289aa
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list