From 47462b5d1ec2c0ecfdabe45b2a589a8857b01a55 Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Wed, 9 Jul 2008 23:05:48 +0000 Subject: [PATCH] solve warnings git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1221 7f574dfc-610e-0410-a909-a81674777703 --- src/conky.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/conky.c b/src/conky.c index 1e81f041..ea4d5fa6 100644 --- a/src/conky.c +++ b/src/conky.c @@ -819,9 +819,8 @@ static char *scan_graph(const char *args, int *w, int *h, unsigned int *first_colour, unsigned int *last_colour, unsigned int *scale, char *showaslog) { - char *nographtype; + const char *nographtype; char buf[64]; - char showaslogbuf[strlen(NORMGRAPH)+1]; buf[0] = 0; /* zero width means all space that is available */