Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
00eaed81
Commit
00eaed81
authored
Aug 17, 2021
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcc: Flexelint still thinks sym could be null
When we check sym->wildcard for quoted headers.
parent
c71ab01e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
vcc_symb.c
lib/libvcc/vcc_symb.c
+1
-3
No files found.
lib/libvcc/vcc_symb.c
View file @
00eaed81
...
...
@@ -314,9 +314,7 @@ VCC_SymbolGet(struct vcc *tl, vcc_ns_t ns, vcc_kind_t kind,
if
(
tn1
->
tok
!=
'.'
)
break
;
tn1
=
vcc_PeekTokenFrom
(
tl
,
tn1
);
if
(
tn1
->
tok
==
CSTR
&&
sym
==
NULL
)
break
;
if
(
tn1
->
tok
==
CSTR
&&
sym
->
wildcard
==
NULL
)
if
(
tn1
->
tok
==
CSTR
&&
(
sym
==
NULL
||
sym
->
wildcard
==
NULL
))
break
;
if
(
tn1
->
tok
!=
CSTR
&&
tn1
->
tok
!=
ID
)
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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