]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Not used
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 20 Jan 2021 18:39:03 +0000 (18:39 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 20 Jan 2021 18:39:03 +0000 (18:39 +0000)
src/bin/unit_test_module.c

index 94c01422ab5e0a23a6bb87138c003e691d115020..1241cc0c56391d8bfccf2fc9bb2e8369f667f407 100644 (file)
@@ -92,9 +92,6 @@ fr_dict_attr_autoload_t unit_test_module_dict_attr[] = {
        { NULL }
 };
 
-
-static uint32_t access_request;
-
 /*
  *     Static functions.
  */
@@ -808,15 +805,6 @@ int main(int argc, char *argv[])
                EXIT_WITH_FAILURE;
        }
 
-       if (strcmp(PROTOCOL_NAME, "radius") == 0) {
-               access_request = FR_CODE_ACCESS_REQUEST;
-       } else {
-               /*
-                *      The caller MUST specify a Packet-Type.
-                */
-               access_request = 0;
-       }
-
        if (map_proc_register(NULL, "test-fail", mod_map_proc, map_proc_verify, 0) < 0) {
                EXIT_WITH_FAILURE;
        }