Fix warning: this statement may fall through

/libretroshare/src/tcponudp/bss_tou.c:246: warning: this statement may
fall through [-Wimplicit-fallthrough=]
   num=0;

/libretroshare/src/tcponudp/bss_tou.c:247: here
  case BIO_C_FILE_SEEK:
This commit is contained in:
Phenom 2017-07-15 11:01:16 +02:00 committed by csoler
parent e718070dbd
commit 635246c462

View File

@ -244,6 +244,7 @@ static long tou_socket_ctrl(BIO *b, int cmd, long num, void *ptr)
{ {
case BIO_CTRL_RESET: case BIO_CTRL_RESET:
num=0; num=0;
/* fallthrough */
case BIO_C_FILE_SEEK: case BIO_C_FILE_SEEK:
ret=0; ret=0;
break; break;