diff options
author | Björn Schäpers <bjoern@hazardy.de> | 2023-05-10 21:42:59 +0200 |
---|---|---|
committer | Björn Schäpers <qt-codereview@hazardy.de> | 2023-05-12 19:45:44 +0000 |
commit | 7327a3bbc27566a4431c9b2d54df6f9158b6c593 (patch) | |
tree | 94ca6e45038050e99a5324382f211911388954c6 /src/plugins/cpptools/cppcodegen_test.cpp | |
parent | c06d291b11a152f5bc3bd117928561b912900e51 (diff) | |
download | qt-creator-7327a3bbc27566a4431c9b2d54df6f9158b6c593.tar.gz |
Registryaccess: Fix defined but not used warning
In file included from .../src/plugins/debugger/registerpostmortemaction.cpp:6:
.../src/shared/registryaccess/registryaccess.h:26:21: warning: 'RegistryAccess::autoRegistryValueNameC' defined but not used [-Wunused-variable]
26 | static const WCHAR *autoRegistryValueNameC = L"Auto";
I don't think using static in a header is a nice thing, inline would
work, but we have constexpr which implies inline.
Change-Id: I7b872e65a554a9a9feb39845717c5dba7ba6777c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins/cpptools/cppcodegen_test.cpp')
0 files changed, 0 insertions, 0 deletions