Commit 923e80b5 authored by Rafaël Carré's avatar Rafaël Carré

Don't use multiple lines macros in if conditions

parent a7e8d944
...@@ -568,12 +568,16 @@ static int HandleKey( intf_thread_t *p_intf, int i_key ) ...@@ -568,12 +568,16 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
vlc_value_t val; vlc_value_t val;
#define ReturnTrue \ #define ReturnTrue \
do { \
vlc_object_release( p_playlist ); \ vlc_object_release( p_playlist ); \
return 1 return 1; \
} while(0)
#define ReturnFalse \ #define ReturnFalse \
do { \
vlc_object_release( p_playlist ); \ vlc_object_release( p_playlist ); \
return 0 return 0; \
} while(0)
playlist_t *p_playlist = pl_Yield( p_intf ); playlist_t *p_playlist = pl_Yield( p_intf );
......
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