vlc | branch: master | Jean-Paul Saman <jpsa...@videolan.org> | Thu May 3 13:16:00 2012 +0200| [fd67d7f867bf2a3f948ea6fcd59ba0b1972c6e58] | committer: Jean-Paul Saman
include/vlc_arrays.h: use unlikely() > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fd67d7f867bf2a3f948ea6fcd59ba0b1972c6e58 --- include/vlc_arrays.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/vlc_arrays.h b/include/vlc_arrays.h index 5142158..c06136d 100644 --- a/include/vlc_arrays.h +++ b/include/vlc_arrays.h @@ -507,7 +507,7 @@ vlc_dictionary_all_keys( const vlc_dictionary_t * p_dict ) int i, count = vlc_dictionary_keys_count( p_dict ); ppsz_ret = (char**)malloc(sizeof(char *) * (count + 1)); - if( !ppsz_ret ) + if( unlikely(!ppsz_ret) ) return NULL; count = 0; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits