]> git.sur5r.net Git - openldap/commitdiff
Minor cleanup (coverity)
authorHoward Chu <hyc@openldap.org>
Wed, 14 Jan 2015 14:04:03 +0000 (14:04 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 14 Jan 2015 14:04:03 +0000 (14:04 +0000)
libraries/liblunicode/ure/ure.c

index ffbd9b5e2cd2a9b70fcf0127db670c4f4f816b97..195289f48dd261eace1add34c35ec1c037826a25 100644 (file)
@@ -416,7 +416,7 @@ _ure_prop_list(ucs2_t *pp, unsigned long limit, unsigned long *mask,
           b->error = _URE_INVALID_PROPERTY;
     }
 
-    if (n != 0)
+    if (b->error == _URE_OK && n != 0)
       m |= cclass_flags[n];
 
     /*