Permalink
Browse files

epcap: remove redundant clause

lists:concat/1 will convert integers to strings.
  • Loading branch information...
1 parent 14c9eb9 commit 02b4ca5313ea9bd59e2dbcb72b4e0489a09628a7 @msantos committed Feb 1, 2014
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/epcap.erl
View
@@ -156,8 +156,6 @@ switch(Switch) ->
switch(Switch, Arg) ->
lists:concat(["-", Switch, " ", Arg]).
-env(Key, Val) when is_integer(Val) ->
- env(Key, integer_to_list(Val));
env(Key, Val) ->
lists:concat([Key, "=", Val]).

0 comments on commit 02b4ca5

Please sign in to comment.