From 1b10c22ceeef4a71f038a3887cd6ead6c0f77978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Czerpak?= Date: Mon, 11 Feb 2019 13:51:35 +0100 Subject: [PATCH] 2019-02-11 13:51 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * src/rtl/gtxwc/gtxwc.c ! added /* fallthrough */ comments to pacify warnings --- ChangeLog.txt | 5 +++++ contrib/gtqtc/gtqtc1.cpp | 1 + src/rtl/gtxwc/gtxwc.c | 2 ++ 3 files changed, 8 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index c4452c39f9..1d06956f74 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,11 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ +2019-02-11 13:51 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * contrib/gtqtc/gtqtc1.cpp + * src/rtl/gtxwc/gtxwc.c + ! added /* fallthrough */ comments to pacify warnings + 2019-02-11 13:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * bin/commit.hb ! fixed UTC offset formatting diff --git a/contrib/gtqtc/gtqtc1.cpp b/contrib/gtqtc/gtqtc1.cpp index 6542fa055b..3124f62311 100644 --- a/contrib/gtqtc/gtqtc1.cpp +++ b/contrib/gtqtc/gtqtc1.cpp @@ -2322,6 +2322,7 @@ static HB_BOOL hb_gt_qtc_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo ) { case 0: iDepth = 32; + /* fallthrough */ case 32: format = QImage::Format_RGB32; break; diff --git a/src/rtl/gtxwc/gtxwc.c b/src/rtl/gtxwc/gtxwc.c index 719cb4ecb0..2cc0cb985d 100644 --- a/src/rtl/gtxwc/gtxwc.c +++ b/src/rtl/gtxwc/gtxwc.c @@ -1425,6 +1425,7 @@ static HB_BOOL hb_gt_xwc_DefineBoxChar( PXWND_DEF wnd, HB_USHORT usCh, XWC_CharT case HB_BOXCH_FULL_B: inverse = HB_TRUE; + /* fallthrough */ case HB_BOXCH_FULL_T: rect[ 0 ].x = 0; rect[ 0 ].y = 0; @@ -1436,6 +1437,7 @@ static HB_BOOL hb_gt_xwc_DefineBoxChar( PXWND_DEF wnd, HB_USHORT usCh, XWC_CharT case HB_BOXCH_FULL_R: inverse = HB_TRUE; + /* fallthrough */ case HB_BOXCH_FULL_L: rect[ 0 ].x = 0; rect[ 0 ].y = 0;