From: Claudio V. C. <ro...@us...> - 2009-02-28 11:57:55
|
Build Version : T2.5.0.23061 Firebird 2.5 Beta 1 (writeBuildNum.sh,v 1.23223 2009/02/28 11:57:19 robocop Exp ) Update of /cvsroot/firebird/firebird2/src/dudley In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3658/src/dudley Modified Files: expr.cpp extract.epp Log Message: Get rid of superflous parentheses. Index: expr.cpp =================================================================== RCS file: /cvsroot/firebird/firebird2/src/dudley/expr.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -b -U3 -r1.29 -r1.30 --- expr.cpp 14 Jan 2009 11:07:14 -0000 1.29 +++ expr.cpp 28 Feb 2009 11:57:17 -0000 1.30 @@ -936,35 +936,36 @@ enum nod_t operatr; - switch (PARSE_keyword()) { + switch (PARSE_keyword()) + { case KW_EQUALS: case KW_EQ: - operatr = (negation) ? nod_neq : nod_eql; + operatr = negation ? nod_neq : nod_eql; negation = false; break; case KW_NE: - operatr = (negation) ? nod_eql : nod_neq; + operatr = negation ? nod_eql : nod_neq; negation = false; break; case KW_GT: - operatr = (negation) ? nod_leq : nod_gtr; + operatr = negation ? nod_leq : nod_gtr; negation = false; break; case KW_GE: - operatr = (negation) ? nod_lss : nod_geq; + operatr = negation ? nod_lss : nod_geq; negation = false; break; case KW_LE: - operatr = (negation) ? nod_gtr : nod_leq; + operatr = negation ? nod_gtr : nod_leq; negation = false; break; case KW_LT: - operatr = (negation) ? nod_geq : nod_lss; + operatr = negation ? nod_geq : nod_lss; negation = false; break; Index: extract.epp =================================================================== RCS file: /cvsroot/firebird/firebird2/src/dudley/extract.epp,v retrieving revision 1.53 retrieving revision 1.54 diff -b -U3 -r1.53 -r1.54 --- extract.epp 14 Jan 2009 11:07:14 -0000 1.53 +++ extract.epp 28 Feb 2009 11:57:17 -0000 1.54 @@ -659,7 +659,7 @@ buffer, F.RDB$FILE_START); else fprintf(output_file, "%s\ndefine shadow %d \"%s\"", - (any_shadows) ? ";\n" : "", + any_shadows ? ";\n" : "", F.RDB$SHADOW_NUMBER, buffer); any_shadows = true; |