]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Shutup GCC
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 30 Apr 2025 19:28:32 +0000 (15:28 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 30 Apr 2025 20:22:52 +0000 (16:22 -0400)
src/lib/server/request.c

index a51de1cb81c40f32c34b1ef77531e6467c22fb79..65a41f94c9b7e3dfc67899fdb29f27b8d1b2d545 100644 (file)
@@ -266,6 +266,11 @@ int _request_init(char const *file, int line,
                fr_assert_fail("Detached requests should start as type == REQUEST_TYPE_INTERNAL, "
                               "args->detachable and be detached later");
                return -1;
+
+       /* Quiet GCC */
+       default:
+               fr_assert_fail("Invalid request type");
+               return -1;
        }
 
        *request = (request_t){