edje: Remove build warnning by clang
authorbluezery <ohpowel@gmail.com>
Fri, 25 Apr 2014 05:27:15 +0000 (14:27 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Fri, 25 Apr 2014 05:27:15 +0000 (14:27 +0900)
Summary:
This can fix below warning:
bin/edje/edje_cc_handlers.c:9839:42: warning: equality comparison with
extraneous parentheses [-Wparentheses-equality]

Reviewers: raster, cedric, seoz

Reviewed By: seoz

CC: cedric
Differential Revision: https://phab.enlightenment.org/D792

src/bin/edje/edje_cc_handlers.c

index 829c465..b285029 100644 (file)
@@ -9836,7 +9836,7 @@ st_collections_group_programs_program_transition(void)
         current_program->tween.v1 = FROM_DOUBLE(parse_float_range(2, 0.0, 999999999.0));
         current_program->tween.v2 = FROM_DOUBLE(parse_float_range(3, 0.0, 999999999.0));
      }
-   else if ((current_program->tween.mode == EDJE_TWEEN_MODE_CUBIC_BEZIER))
+   else if (current_program->tween.mode == EDJE_TWEEN_MODE_CUBIC_BEZIER)
      {
         if ((get_arg_count() == 7) && (!strcmp(parse_str(4), "CURRENT")))
           current_program->tween.mode |= EDJE_TWEEN_MODE_OPT_FROM_CURRENT;