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
b421d9c0
Commit
b421d9c0
authored
Jul 13, 2010
by
mae
Browse files
Fix compile warning
parent
4caba7d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppdeclfromdef.cpp
View file @
b421d9c0
...
...
@@ -167,11 +167,12 @@ int DeclFromDef::match(const QList<CPlusPlus::AST *> &path)
int
idx
=
0
;
for
(;
idx
<
path
.
size
();
++
idx
)
{
AST
*
node
=
path
.
at
(
idx
);
if
(
FunctionDefinitionAST
*
candidate
=
node
->
asFunctionDefinition
())
if
(
FunctionDefinitionAST
*
candidate
=
node
->
asFunctionDefinition
())
{
if
(
!
funDef
)
funDef
=
candidate
;
else
if
(
node
->
asClassSpecifier
())
}
else
if
(
node
->
asClassSpecifier
())
{
return
-
1
;
}
}
if
(
!
funDef
||
!
funDef
->
symbol
)
...
...
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