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
c4d4a493
Commit
c4d4a493
authored
Aug 03, 2010
by
Roberto Raggi
Browse files
Check for possible 0x0 access.
parent
1932ffd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppchecksymbols.cpp
View file @
c4d4a493
...
...
@@ -662,7 +662,7 @@ bool CheckSymbols::visit(FunctionDefinitionAST *ast)
accept
(
ast
->
decl_specifier_list
);
if
(
ast
->
declarator
&&
!
ast
->
symbol
->
isGenerated
())
{
if
(
ast
->
declarator
&&
ast
->
symbol
&&
!
ast
->
symbol
->
isGenerated
())
{
Function
*
fun
=
ast
->
symbol
;
if
(
NameAST
*
declId
=
declaratorId
(
ast
->
declarator
))
{
if
(
QualifiedNameAST
*
q
=
declId
->
asQualifiedName
())
...
...
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