Browse Source

Enabled reporting multiple warnings

Alois Mahdal 11 years ago
parent
commit
25dbbb2a0d
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      lib/SugarTrail/Template/Condition.pm

+ 0
- 2
lib/SugarTrail/Template/Condition.pm View File

@@ -89,7 +89,6 @@ sub __match {
89 89
             $self->{string},
90 90
             $name
91 91
         ));
92
-        return 1;
93 92
     }
94 93
 
95 94
     # execute the right handler or warn it does not exist
@@ -97,7 +96,6 @@ sub __match {
97 96
         return &{ $self->{handlers}->{$op} }($want, $have);
98 97
     } else {
99 98
         $self->warn("unknown operator: $op");
100
-        return 1;
101 99
     }
102 100
 }
103 101