summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2008-10-22 07:42:06 +0300
committerGuillem Jover <guillem@debian.org>2008-10-22 07:46:10 +0300
commitf5e9ae19507c5aeaea65cdf1ce1d718dcc7d0a42 (patch)
tree8b34cebeb8f3d6ade1b746814c2a6aef58f48b67 /lib
parentdd803497487ec4454541214570ad16a236b7363b (diff)
downloaddpkg-f5e9ae19507c5aeaea65cdf1ce1d718dcc7d0a42.tar.gz
libdpkg: Remove unused code in error_unwind
Diffstat (limited to 'lib')
-rw-r--r--lib/ehandle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ehandle.c b/lib/ehandle.c
index 39636d085..54e7c1f31 100644
--- a/lib/ehandle.c
+++ b/lib/ehandle.c
@@ -152,11 +152,9 @@ static void run_cleanups(struct errorcontext *econ, int flagsetin) {
}
void error_unwind(int flagset) {
- struct cleanupentry *cep;
struct errorcontext *tecp;
tecp= econtext;
- cep= tecp->cleanups;
econtext= tecp->next;
run_cleanups(tecp,flagset);
free(tecp);