Commit e3be0093 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

void function cannot return a value

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit 7dafb03c02357664ffcdaa1e7996b4dd43b39bf8)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 72c9e632
......@@ -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 );
}
/**
......
......@@ -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
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