ssh2_sftp: remove implicit switch-case fallthrough in stream_seek

This commit is contained in:
Gerdriaan Mulder
2023-05-08 17:07:08 +02:00
committed by GitHub
parent 520e1f0810
commit 9044d88458

View File

@@ -179,6 +179,7 @@ static int php_ssh2_sftp_stream_seek(php_stream *stream, zend_off_t offset, int
return -1;
}
offset += attrs.filesize;
break;
}
case SEEK_CUR:
{
@@ -189,6 +190,7 @@ static int php_ssh2_sftp_stream_seek(php_stream *stream, zend_off_t offset, int
}
offset += current_offset;
break;
}
}