Changeset 5f247d8c72fa39d46e27c606a3066cab449349ff

Show
Ignore:
Timestamp:
22/04/07 00:30:23 (2 years ago)
Author:
Olivier Aubert <olivier.aubert@liris.cnrs.fr>
git-committer:
Olivier Aubert <olivier.aubert@liris.cnrs.fr> 1177194623 +0000
git-parent:

[fdf18908aa4a7ce81cddf0d7661deade27fe3a1d]

git-author:
Olivier Aubert <olivier.aubert@liris.cnrs.fr> 1177194623 +0000
Message:

src/control/mediacontrol_internal.h: do not set exception attributes if
no exception was passed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/control/mediacontrol_internal.h

    rd3fe7f2 r5f247d8  
    4747    const mediacontrol_Position *pos ); 
    4848 
    49 #define RAISE( c, m )  exception->code = c;
    50                        exception->message = strdup(m); 
     49#define RAISE( c, m )  if( exception ) { exception->code = c; 
     50                                         exception->message = strdup(m); } 
    5151 
    5252#define RAISE_NULL( c, m ) { RAISE( c, m ); return NULL; }