mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Removing some apparently unnecessary lines.
This commit is contained in:
parent
668824d1b6
commit
0fe30453cf
1 changed files with 1 additions and 4 deletions
|
@ -598,10 +598,7 @@ function strip%(str: string%): string
|
|||
while ( isspace(*sp) && sp <= e )
|
||||
++sp;
|
||||
|
||||
if ( sp > e )
|
||||
return new StringVal(new BroString());
|
||||
else
|
||||
return new StringVal(new BroString(sp, (e - sp + 1), 1));
|
||||
return new StringVal(new BroString(sp, (e - sp + 1), 1));
|
||||
%}
|
||||
|
||||
function string_fill%(len: int, source: string%): string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue