mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 12:10:03 +00:00
fix uninitialized var warning
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@970 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
58c1eb36c3
commit
0a7cb47470
@ -2781,7 +2781,7 @@ static struct text_object *construct_text_object(const char *s, const char *arg,
|
||||
("invalid arg for tail, interval must be greater than 0 and Conky's interval");
|
||||
return NULL;
|
||||
} else {
|
||||
FILE *fp;
|
||||
FILE *fp=0;
|
||||
int fd;
|
||||
|
||||
obj->data.tail.fd = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user