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
2b9d43cc
Commit
2b9d43cc
authored
Oct 01, 2013
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly initialize the fantom iterators before using them.
Spotted by: Coverity
parent
ddff9a26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
varnishstat_curses.c
bin/varnishstat/varnishstat_curses.c
+3
-1
No files found.
bin/varnishstat/varnishstat_curses.c
View file @
2b9d43cc
...
...
@@ -860,7 +860,9 @@ do_curses(struct VSM_data *vd, int delay)
long
t
;
int
ch
;
double
now
;
struct
VSM_fantom
f_main
,
f_mgt
,
f_iter
;
struct
VSM_fantom
f_main
=
VSM_FANTOM_NULL
;
struct
VSM_fantom
f_mgt
=
VSM_FANTOM_NULL
;
struct
VSM_fantom
f_iter
=
VSM_FANTOM_NULL
;
(
void
)
delay
;
...
...
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