]> git.sesse.net Git - vlc/blobdiff - src/video_output/inhibit.h
void function cannot return a value
[vlc] / src / video_output / inhibit.h
index e3d1db421eba71e7edae31287704d349b2576ebf..f2cb92b81ca7e4a661a1730e0209c15eaf0e9fb2 100644 (file)
@@ -28,6 +28,6 @@ void vlc_inhibit_Destroy (vlc_inhibit_t *);
 
 static inline void vlc_inhibit_Set (vlc_inhibit_t *ih, bool suspend)
 {
-    return ih->inhibit (ih, suspend);
+    ih->inhibit (ih, suspend);
 }
 #endif