php / pecl-networking-ssh2

Bindings for the libssh2 library
http://pecl.php.net/package/ssh2
Other
51 stars 58 forks source link

ssh2_sftp: remove implicit switch-case fallthrough in stream_seek #66

Closed mrngm closed 1 year ago

mrngm commented 1 year ago

On release 1.4, we got warnings for implicit fallthroughs:

/builds/php/ext/ssh2/ssh2_sftp.c:172:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  172 |   {
      |   ^
/builds/php/ext/ssh2/ssh2_sftp.c:183:3: note: here
  183 |   case SEEK_CUR:
      |   ^~~~

(permalink)