From cae225a94afe1f139874487ab408de44126d82b6 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 26 Oct 2005 16:22:32 +0000 Subject: [PATCH] (info): Remove dead code. --- src/lib/commands/info.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/commands/info.c b/src/lib/commands/info.c index c12c27cc..d9238bc5 100644 --- a/src/lib/commands/info.c +++ b/src/lib/commands/info.c @@ -96,7 +96,6 @@ info(void) snprintf(filename, sizeof(filename), "%s/%s", infodir, name); fp = fopen(filename, "r"); if (fp == NULL) { - int len = strlen(name); /* may be a "partial" request. */ info_dp = opendir(infodir); if (info_dp == 0) { @@ -310,7 +309,6 @@ info(void) /* may be a "partial" request. */ HANDLE hDir; WIN32_FIND_DATA fData; - int len = strlen(name); strcat(filename, "*"); hDir = FindFirstFile(filename, &fData); if (hDir == INVALID_HANDLE_VALUE) {