From f0c41b4e0e096698a7e2eae1ab99d9af1a74d5bd Mon Sep 17 00:00:00 2001 From: graham.gower Date: Wed, 04 Nov 2009 21:38:40 -0500 Subject: 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); -- cgit v0.9.1