[Date Prev][Date Next] [Chronological] [Thread] [Top]

controls.c line 1239



There's some very strange parenthesis nesting here

   if ( (void *)(ctrl->ldctl_value.bv_val[2] != 0x00)) {
       set_subentries_visibility( op );
   }

casting the result of a comparison (which can only be 0 or 1) to a (void *) surely isn't the intended behavior. What is this really supposed to do?

--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support