From 5ac6953642503816a5ce3419a8c87a8e8850bb59 Mon Sep 17 00:00:00 2001 From: Stathis Kamperis Date: Sat, 2 Feb 2008 12:49:12 +0100 Subject: [PATCH] Remove unused variable --- proplib/prop_parse_du.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proplib/prop_parse_du.c b/proplib/prop_parse_du.c index b8f1ee6..0e27791 100644 --- a/proplib/prop_parse_du.c +++ b/proplib/prop_parse_du.c @@ -25,7 +25,7 @@ #define MAX_STR 100 #define MAX_TOKENS 3 -/* */ +/* Resources */ FILE *fp = NULL; prop_dictionary_t prd = NULL; /* root dictionary */ prop_dictionary_t pcd = NULL; /* child dictionary */ @@ -40,7 +40,7 @@ int main(void) char str[MAX_STR]; char *tokens[MAX_TOKENS]; /* for du(1) output parse */ char *last, *p; - int i, ret; + int i; /* Register cleanup function */ if (atexit(cleanup) == -1) { @@ -127,7 +127,7 @@ int main(void) return EXIT_SUCCESS; } -void cleanup(void) +static void cleanup(void) { /* Close pipe */ if (fp != NULL) { -- 2.11.4.GIT