From: Adam Dickmeiss Date: Thu, 14 Jan 2010 10:07:41 +0000 (+0100) Subject: ASN.1 comp: Put blank in if stmt X-Git-Tag: v4.0.0~39 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=070438f9027bec2411d0d3ec4491a6aa6651093a;p=yaz-moved-to-github.git ASN.1 comp: Put blank in if stmt --- diff --git a/util/yaz-asncomp b/util/yaz-asncomp index fb454a6..721551e 100755 --- a/util/yaz-asncomp +++ b/util/yaz-asncomp @@ -519,7 +519,7 @@ proc asnSequence {name tag implicit tagtype} { lappend l "\tif (!odr_sequence_begin (o, p, sizeof(**p), 0))" lappend l "\t\{" - lappend l "\t\tif(o->direction == ODR_DECODE)" + lappend l "\t\tif (o->direction == ODR_DECODE)" lappend l "\t\t\t*p = 0;" lappend l "\t\treturn 0;" lappend l "\t\}" @@ -732,7 +732,7 @@ proc asnOf {name tag implicit tagtype isset} { } lappend j "\}" lappend l "\t\treturn 1;" - lappend l "\tif(o->direction == ODR_DECODE)" + lappend l "\tif (o->direction == ODR_DECODE)" lappend l "\t\t*p = 0;" lappend l "\treturn odr_missing(o, opt, name);" return [list [join $l \n] [join $j \n]] @@ -847,7 +847,7 @@ proc asnChoice {name tag implicit tagtype} { } lappend l "\t\treturn 1;" - lappend l "\tif(o->direction == ODR_DECODE)" + lappend l "\tif (o->direction == ODR_DECODE)" lappend l "\t\t*p = 0;" lappend l "\treturn odr_missing(o, opt, name);"