Author: sbruno Date: Sat Oct 26 14:49:19 2013 New Revision: 257160 URL: http://svnweb.freebsd.org/changeset/base/257160
Log: Queisce warnings for gperf -Wlogical-op-parentheses with parens to explicitly define the logic Modified: head/contrib/gperf/src/options.cc Modified: head/contrib/gperf/src/options.cc ============================================================================== --- head/contrib/gperf/src/options.cc Sat Oct 26 14:19:57 2013 (r257159) +++ head/contrib/gperf/src/options.cc Sat Oct 26 14:49:19 2013 (r257160) @@ -281,7 +281,7 @@ Options::print_options () const { putchar (*arg); arg++; - if (*arg >= 'A' && *arg <= 'Z' || *arg >= 'a' && *arg <= 'z') + if ( (*arg >= 'A' && *arg <= 'Z') || (*arg >= 'a' && *arg <= 'z') ) { putchar (*arg); arg++; @@ -293,7 +293,9 @@ Options::print_options () const putchar (*arg); arg++; } - while (*arg >= 'A' && *arg <= 'Z' || *arg >= 'a' && *arg <= 'z' || *arg == '-'); + while ( (*arg >= 'A' && *arg <= 'Z') || + (*arg >= 'a' && *arg <= 'z') || + *arg == '-'); if (*arg == '=') { putchar (*arg); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"