summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-04 21:38:40 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-04 21:38:40 (EST)
commitf0c41b4e0e096698a7e2eae1ab99d9af1a74d5bd (patch)
tree30033cffc3b8ff08893286083b5143adbd3f114c /libopkg
parent7dff5be677598f2f93c5c11978f28f650852c4e2 (diff)
Remove code path which cannot be executed.
git-svn-id: http://opkg.googlecode.com/svn/trunk@257 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg_cmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c
index a3f18f8..9c1612b 100644
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
@@ -338,8 +338,6 @@ static int opkg_finalize_intercepts(opkg_intercept_t ctx)
if (ctx->oldpath) {
setenv ("PATH", ctx->oldpath, 1);
free (ctx->oldpath);
- } else {
- unsetenv("PATH");
}
dir = opendir (ctx->statedir);