2017-05-09 09:12 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/hbct/charswap.c
  * contrib/hbct/token1.c
  * contrib/hbnetio/netiosrv.c
  * contrib/hbssl/ssl_sock.c
  * contrib/rddads/ads1.c
  * include/hbexprb.c
  * src/common/hbprintf.c
  * src/compiler/cmdcheck.c
  * src/compiler/complex.c
  * src/compiler/gencc.c
  * src/compiler/hbmain.c
  * src/compiler/hbopt.c
  * src/pp/ppcore.c
  * src/rdd/dbf1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/hsx/hsx.c
  * src/rdd/workarea.c
  * src/rtl/dates.c
  * src/rtl/gtclip.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/hbgtcore.c
  * src/rtl/itemseri.c
  * src/rtl/strtoexp.c
  * src/vm/classes.c
  * src/vm/task.c
    * added and verified (following Viktor's patch)
      /* fallthrough */ comment for GCC >= 7.
    ; I haven't found any errors in existing code.
      /cc @vszakats

  * src/rdd/dbf1.c
    * minor improvement in dbf1.c
This commit is contained in:
Przemysław Czerpak
2017-05-09 09:12:35 +02:00
parent 4858d23510
commit d1a58966c8
29 changed files with 134 additions and 42 deletions

View File

@@ -949,7 +949,7 @@ int hb_printf_params( const char * format )
format += 2;
c = *format++;
}
/* no break; */
/* fallthrough */
default:
break;
}
@@ -1195,7 +1195,7 @@ int hb_vsnprintf( char * buffer, size_t bufsize, const char * format, va_list ap
format += 2;
c = *format++;
}
/* no break; */
/* fallthrough */
default:
length = _L_UNDEF_;
break;
@@ -1215,7 +1215,7 @@ int hb_vsnprintf( char * buffer, size_t bufsize, const char * format, va_list ap
* valid parameters order
*/
c = ( c == 'a' || c == 'e' || c == 'g' ) ? 'f' : 'F';
/* no break; */
/* fallthrough */
case 'f': /* double decimal notation */
case 'F': /* double decimal notation */
if( length == _L_LONGDOUBLE_ )