Explorar el Código

Enabled reporting multiple warnings

Alois Mahdal hace 11 años
padre
commit
25dbbb2a0d
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0
    2
      lib/SugarTrail/Template/Condition.pm

+ 0
- 2
lib/SugarTrail/Template/Condition.pm Ver fichero

@@ -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