Code

since we use firstdir even without CHROOT it should better be defined in any case
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 1 Sep 2005 21:23:34 +0000 (21:23 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 1 Sep 2005 21:23:34 +0000 (21:23 +0000)
-- Guenter Knauf

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@681 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_tool.c

index 1994bb91e0296455f3df6c453ce6cfd90311732b..3f26a701e0c0d20cf805546e2dd075a30e197784 100644 (file)
@@ -299,9 +299,7 @@ int main(int argc, char *argv[])
 {
     char **myargv;
     char aLine[MAX_LENGTH];
-#ifdef HAVE_CHROOT    
     char *firstdir="";
-#endif
 #ifdef MUST_DISABLE_SIGFPE
     signal(SIGFPE,SIG_IGN);
 #endif