From 340eefa8e83c72319de0feda257d49e668b33f22 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 19 Sep 2007 23:12:52 +0200 Subject: [PATCH] Remove unused -E_LSTAT. --- error.h | 1 - osl.c | 1 - 2 files changed, 2 deletions(-) diff --git a/error.h b/error.h index 7dafc606..e9083f75 100644 --- a/error.h +++ b/error.h @@ -156,7 +156,6 @@ extern const char **para_errlist[]; PARA_ERROR(RBTREE_EMPTY, "rbtree is empty"), \ PARA_ERROR(BAD_ROW, "invalid row"), \ PARA_ERROR(OSL_GETCWD, "can not get current working directory"), \ - PARA_ERROR(OSL_LSTAT, "lstat error"), \ #define RBTREE_ERRORS \ diff --git a/osl.c b/osl.c index 7f6ffdb9..fa37dea9 100644 --- a/osl.c +++ b/osl.c @@ -289,7 +289,6 @@ int for_each_file_in_dir(const char *dirname, continue; if (!strcmp(entry->d_name, "..")) continue; - ret = -E_OSL_LSTAT; if (lstat(entry->d_name, &s) == -1) continue; m = s.st_mode; -- 2.39.2