aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-04-17 12:29:15 +0200
committerHans Nilsson <[email protected]>2019-04-17 16:36:57 +0200
commitb77bf65d0a37460ce1f75a2a94acf5ecd42b4e3d (patch)
treee23a1005002d0d59baffde13b200250aa157ef02 /lib/ssh
parent2587405769912b165b4c97d827411db09d7a7882 (diff)
downloadotp-b77bf65d0a37460ce1f75a2a94acf5ecd42b4e3d.tar.gz
otp-b77bf65d0a37460ce1f75a2a94acf5ecd42b4e3d.tar.bz2
otp-b77bf65d0a37460ce1f75a2a94acf5ecd42b4e3d.zip
ssh: Remove unused var warning
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/src/ssh_sftpd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_sftpd.erl b/lib/ssh/src/ssh_sftpd.erl
index aa9ba0f9bb..5ec12e2d04 100644
--- a/lib/ssh/src/ssh_sftpd.erl
+++ b/lib/ssh/src/ssh_sftpd.erl
@@ -508,7 +508,7 @@ close_our_file({_,Fd}, FileMod, FS0) ->
FS1.
%%% stat: do the stat
-stat(Vsn, ReqId, Data, State, F) ->
+stat(_Vsn, ReqId, Data, State, F) ->
<<?UINT32(BLen), BPath:BLen/binary, _/binary>> = Data,
stat(ReqId, unicode:characters_to_list(BPath), State, F).