qt6-bb10/src/platformsupport
Andrei Golubev b365186860 Fix unused variables in qtbase
clang compiler recently got smarter and detects "pseudo used variable"
patterns where we declare a variable and only use it in self-increments,
self-decrements and other similar expressions

Errors:

qtbase/src/corelib/text/qlocale.cpp:3898:9: error: variable 'group_cnt' set but not used [-Werror,-Wunused-but-set-variable]
    int group_cnt = 0; // counts number of group chars
        ^

qtbase/src/corelib/text/qunicodetools.cpp:1372:21: error: variable 'uc' set but not used [-Werror,-Wunused-but-set-variable]
    const char16_t *uc = text + from;
                    ^
and more of the kind

Remove the ones that have no usage, mark others with [[maybe_unused]]

Pick-to: 6.3 6.2
Change-Id: Ib2d0722110e3da8c39e29ec78c0ec290d064c970
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-04-25 15:05:25 +02:00
..
devicediscovery Make sure all qtbase private headers include at least one other 2022-02-24 12:07:00 -08:00
fbconvenience Make sure all qtbase private headers include at least one other 2022-02-24 12:07:00 -08:00
input Fix unused variables in qtbase 2022-04-25 15:05:25 +02:00
kmsconvenience Add the 'Private' suffix to the internal module names 2021-05-31 20:50:07 +02:00
CMakeLists.txt Remove linuxofono 2020-07-15 07:33:32 +02:00