projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d3776
)
curl plugin: Fix compiler warning.
author
Florian Forster
<octo@collectd.org>
Sat, 1 Jun 2013 07:23:04 +0000
(09:23 +0200)
committer
Florian Forster
<octo@collectd.org>
Sat, 1 Jun 2013 07:23:04 +0000
(09:23 +0200)
The compiler thinks the "start" variable may be used uninitialized.
src/curl.c
patch
|
blob
|
history
diff --git
a/src/curl.c
b/src/curl.c
index
7d31307
..
280e61c
100644
(file)
--- a/
src/curl.c
+++ b/
src/curl.c
@@
-630,7
+630,7
@@
static int cc_read_page (web_page_t *wp) /* {{{ */
{
web_match_t *wm;
int status;
- cdtime_t start;
+ cdtime_t start
= 0
;
if (wp->response_time)
start = cdtime ();