Fix: bitops.pl reports an error if failure count is zero
authorDario Sestito <darios@symbian.org>
Wed, 14 Jul 2010 13:17:28 +0100
changeset 1182 f15fa527df95
parent 1181 4bdc287cd2c7
child 1183 6c7fc7463871
Fix: bitops.pl reports an error if failure count is zero
common/tools/bitops.pl
--- a/common/tools/bitops.pl	Wed Jul 14 12:29:45 2010 +0100
+++ b/common/tools/bitops.pl	Wed Jul 14 13:17:28 2010 +0100
@@ -148,7 +148,7 @@
           my $category = $1;
           my $count = $2;
           
-          if (!$category || !$count)
+          if (!$category || !defined $count || $count eq '')
           {
             print "ERROR: Category or count empty: \"$value\"\n";
             return 1;