summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodegen_test.cpp
diff options
context:
space:
mode:
authorBjörn Schäpers <bjoern@hazardy.de>2023-05-10 21:42:59 +0200
committerBjörn Schäpers <qt-codereview@hazardy.de>2023-05-12 19:45:44 +0000
commit7327a3bbc27566a4431c9b2d54df6f9158b6c593 (patch)
tree94ca6e45038050e99a5324382f211911388954c6 /src/plugins/cpptools/cppcodegen_test.cpp
parentc06d291b11a152f5bc3bd117928561b912900e51 (diff)
downloadqt-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