]> git.pond.sub.org Git - empserver/commitdiff
(info): Remove dead code.
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 26 Oct 2005 16:22:32 +0000 (16:22 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 26 Oct 2005 16:22:32 +0000 (16:22 +0000)
src/lib/commands/info.c

index c12c27ccf3e06c022b6a52460ff1978e28db4888..d9238bc5c248e08b5fcf10ff636da87a3042dacc 100644 (file)
@@ -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) {