remove unused variables
This commit is contained in:
parent
656a2777d8
commit
c15623a767
2 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ fix_key(Key) when is_atom(Key) -> fix_key(atom_to_binary(Key, utf8));
|
||||||
fix_key(Key) when is_binary(Key) -> Key.
|
fix_key(Key) when is_binary(Key) -> Key.
|
||||||
|
|
||||||
|
|
||||||
clean_string(Bin, Opts=#opts{dirty_strings=true}) -> Bin;
|
clean_string(Bin, #opts{dirty_strings=true}) -> Bin;
|
||||||
clean_string(Bin, Opts) ->
|
clean_string(Bin, Opts) ->
|
||||||
case Opts#opts.replaced_bad_utf8 orelse Opts#opts.escaped_strings of
|
case Opts#opts.replaced_bad_utf8 orelse Opts#opts.escaped_strings of
|
||||||
true -> clean(Bin, [], Opts)
|
true -> clean(Bin, [], Opts)
|
||||||
|
|
|
@ -161,7 +161,7 @@ fix_key(Key) when is_atom(Key) -> fix_key(atom_to_binary(Key, utf8));
|
||||||
fix_key(Key) when is_binary(Key) -> Key.
|
fix_key(Key) when is_binary(Key) -> Key.
|
||||||
|
|
||||||
|
|
||||||
clean_string(Bin, Opts=#opts{dirty_strings=true}) -> Bin;
|
clean_string(Bin, #opts{dirty_strings=true}) -> Bin;
|
||||||
clean_string(Bin, Opts) ->
|
clean_string(Bin, Opts) ->
|
||||||
case Opts#opts.replaced_bad_utf8 orelse Opts#opts.escaped_strings of
|
case Opts#opts.replaced_bad_utf8 orelse Opts#opts.escaped_strings of
|
||||||
true -> clean(Bin, [], Opts)
|
true -> clean(Bin, [], Opts)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue