Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
ac517807
Commit
ac517807
authored
Apr 30, 2010
by
Robert Loehning
Browse files
Using Q_UNUSED to avoid warnings from MinGW
parent
a813396b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/registerpostmortemaction.cpp
View file @
ac517807
...
...
@@ -79,6 +79,8 @@ RegisterPostMortemAction::RegisterPostMortemAction(QObject *parent) : Utils::Sav
void
RegisterPostMortemAction
::
readSettings
(
const
QSettings
*
)
{
Q_UNUSED
(
debuggerRegistryValueNameC
);
// avoid warning from MinGW
bool
registered
=
false
;
HKEY
handle
=
0
;
QString
errorMessage
;
...
...
src/shared/registryaccess/registryaccess.cpp
View file @
ac517807
...
...
@@ -104,6 +104,7 @@ bool openRegistryKey(HKEY category, // HKEY_LOCAL_MACHINE, etc.
HKEY
*
keyHandle
,
QString
*
errorMessage
)
{
Q_UNUSED
(
debuggerRegistryKeyC
);
// avoid warning from MinGW
REGSAM
accessRights
=
KEY_READ
;
if
(
readWrite
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment