diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2019-08-28 14:51:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-28 14:51:01 +0000 |
commit | a323fd7a97e541fd7401d3aa2234a9f6fa2fe3fd (patch) | |
tree | 6c35545a451ece6a0ce31b0427e6e9151acc6f75 /collectors/plugins.d | |
parent | fbce1ab70799d97456cd1b3d59d4622efacbe3ed (diff) |
Netdata-installer warning removed (#6715)
* compile_plugin: Set null
There was a warning when I was compiling Netdata with netdata-installer.sh, this commit
removes this warning
* Add missing spaces
Diffstat (limited to 'collectors/plugins.d')
-rw-r--r-- | collectors/plugins.d/plugins_d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/plugins.d/plugins_d.c b/collectors/plugins.d/plugins_d.c index aea2704a35..85b670df80 100644 --- a/collectors/plugins.d/plugins_d.c +++ b/collectors/plugins.d/plugins_d.c @@ -249,7 +249,7 @@ inline size_t pluginsd_process(RRDHOST *host, struct plugind *cd, FILE *fp, int #ifdef ENABLE_HTTPS int bytesleft = 0; char tmpbuffer[PLUGINSD_LINE_MAX]; - char *readfrom; + char *readfrom = NULL; #endif char *r = NULL; while(!ferror(fp)) { |