From: graham.gower Date: Thu, 5 Nov 2009 02:38:40 +0000 (+0000) Subject: Remove code path which cannot be executed. X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=commitdiff_plain;h=f0c41b4e0e096698a7e2eae1ab99d9af1a74d5bd Remove code path which cannot be executed. git-svn-id: http://opkg.googlecode.com/svn/trunk@257 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- 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);