Permalink
Browse files

remove useless clause

  • Loading branch information...
1 parent 55fc325 commit e7bd5d312bde5ad0d046a56484b4c0bae8d306bb @nniclausse nniclausse committed Mar 14, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/tsung/ts_search.erl
View
@@ -177,10 +177,7 @@ match([Match=#match{regexp=RawRegExp,subst=Subst, do=Action, 'when'=When}
restart -> put(restart_count, 0);
_ -> ok
end,
- match(Tail, Data, Counts,[{count, nomatch} | Stats],DynVars,Tr);
- {error,_Error} ->
- ?LOGF("Error while matching: bad REGEXP (~p)~n", [RegExp], ?ERR),
- match(Tail, Data, Counts,[{count, badregexp} | Stats],DynVars,Tr)
+ match(Tail, Data, Counts,[{count, nomatch} | Stats],DynVars,Tr)
end.
%%----------------------------------------------------------------------

0 comments on commit e7bd5d3

Please sign in to comment.