]> git.sesse.net Git - vlc/commitdiff
void function cannot return a value
authorFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 14 Apr 2010 14:53:15 +0000 (16:53 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 14 Apr 2010 16:00:45 +0000 (19:00 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
include/vlc_sql.h
src/video_output/inhibit.h

index ef4ebca93b9592da6ce94756adbe5020963338df..0fe4f4bcca3442cf5f5f8f5347c86448af17c32c 100644 (file)
@@ -300,7 +300,7 @@ static inline int sql_CommitTransaction( sql_t *p_sql )
  **/
 static inline void sql_RollbackTransaction( sql_t *p_sql )
 {
-    return p_sql->pf_rollback( p_sql );
+    p_sql->pf_rollback( p_sql );
 }
 
 /**
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