[Spread-cvs] cvs commit: spread/daemon groups.c

jonathan at spread.org jonathan at spread.org
Tue Jul 12 09:50:34 EDT 2011


jonathan    04/10/29 10:40:56

  Modified:    daemon   Tag: branch_3_17 groups.c
  Log:
  Move variable assignment out of assert() call.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.17.2.1  +2 -1      spread/daemon/groups.c
  
  Index: groups.c
  ===================================================================
  RCS file: /storage/cvsroot/spread/daemon/groups.c,v
  retrieving revision 1.17
  retrieving revision 1.17.2.1
  diff -u -r1.17 -r1.17.2.1
  --- groups.c	23 Sep 2004 23:15:18 -0000	1.17
  +++ groups.c	29 Oct 2004 14:40:55 -0000	1.17.2.1
  @@ -1555,7 +1555,8 @@
   	    
   	    changed = 0;
   	    orig_grp = NULL;
  -	    assert( NULL != (this_group = (group *)(sl_getlist(indices[0]->groups)->data)) );
  +            this_group = (group *)(sl_getlist(indices[0]->groups)->data);
  +	    assert( NULL != this_group );
               orig_grp = sl_find( &GroupsList, this_group->name, &top_iter);
   	    	    
   	    if( orig_grp == NULL )
  
  
  




More information about the Spread-cvs mailing list