]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Removed unused variable
authorAlan T. DeKok <aland@freeradius.org>
Sun, 6 Nov 2011 09:55:54 +0000 (10:55 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 6 Nov 2011 09:55:54 +0000 (10:55 +0100)
src/main/connection.c

index 2438d32eab996cea9951bfb1be8037f5423e3e7b..458bb34d819b476e8b89d754cae868b037820991 100644 (file)
@@ -453,7 +453,6 @@ static int fr_connection_pool_check(fr_connection_pool_t *fc)
 
 int fr_connection_check(fr_connection_pool_t *fc, void *conn)
 {
-       int rcode = 1;
        fr_connection_t *this;
        time_t now;
        
@@ -466,7 +465,7 @@ int fr_connection_check(fr_connection_pool_t *fc, void *conn)
 
        for (this = fc->head; this != NULL; this = this->next) {
                if (this->connection == conn) {
-                       rcode = fr_connection_manage(fc, conn, now);
+                       fr_connection_manage(fc, conn, now);
                        break;
                }
        }