Commit 7dafb03c authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Rémi Denis-Courmont

void function cannot return a value

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent d6bfdcd0
...@@ -300,7 +300,7 @@ static inline int sql_CommitTransaction( sql_t *p_sql ) ...@@ -300,7 +300,7 @@ static inline int sql_CommitTransaction( sql_t *p_sql )
**/ **/
static inline void sql_RollbackTransaction( 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 );
} }
/** /**
......
...@@ -28,6 +28,6 @@ void vlc_inhibit_Destroy (vlc_inhibit_t *); ...@@ -28,6 +28,6 @@ void vlc_inhibit_Destroy (vlc_inhibit_t *);
static inline void vlc_inhibit_Set (vlc_inhibit_t *ih, bool suspend) static inline void vlc_inhibit_Set (vlc_inhibit_t *ih, bool suspend)
{ {
return ih->inhibit (ih, suspend); ih->inhibit (ih, suspend);
} }
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment