Changeset b855dc8d8261eeb21f6eb7db770768701dea98d9

Show
Ignore:
Timestamp:
05/10/08 22:22:19 (4 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1210450939 +0300
git-parent:

[b8fb4bc181b346f6849f5fefcbaa40baa97ee31d]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1210448965 +0300
Message:

Don't assert that something that can fail won't fail...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/misc/messages.c

    rcdd5175 rb855dc8  
    619619    va_list ap; 
    620620    msg_context_t *p_ctx = GetContext(); 
    621     assert( p_ctx ); 
     621 
     622    if( p_ctx == NULL ) 
     623        return; 
    622624 
    623625    va_start( ap, psz_message ); 
     
    636638    va_list ap; 
    637639    msg_context_t *p_ctx = GetContext(); 
    638     assert( p_ctx ); 
     640 
     641    if( p_ctx == NULL ) 
     642        return; 
    639643 
    640644    va_start( ap, psz_message );