*** empty log message ***


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1132 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/libasn1fix/asn1fix_cws.c b/libasn1fix/asn1fix_cws.c
index c6bd1ab..b545711 100644
--- a/libasn1fix/asn1fix_cws.c
+++ b/libasn1fix/asn1fix_cws.c
@@ -169,6 +169,7 @@
 		uint8_t *buf, const uint8_t *bend) {
 	asn1p_expr_t *expr;
 	asn1p_ref_t *ref;
+	int idLength;
 	char *p;
 
 	if((bend - buf) <= 0) {
@@ -220,8 +221,9 @@
 
 	cell->value = expr;
 
-	if(row->max_identifier_length < strlen(expr->Identifier))
-		row->max_identifier_length = strlen(expr->Identifier);
+	idLength = strlen(expr->Identifier);
+	if(row->max_identifier_length < idLength)
+		row->max_identifier_length = idLength;
 
 	return 0;
 }