]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
try to quiet compiler warnings
authorAlan T. DeKok <aland@freeradius.org>
Sat, 12 Oct 2019 22:33:12 +0000 (18:33 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 12 Oct 2019 22:33:12 +0000 (18:33 -0400)
src/main/process.c

index 51a83ceec0ec752ddd0745422760a5901dceead8..78c6d8a9e52223840b431c797228212b37d5bc83 100644 (file)
@@ -2474,6 +2474,7 @@ static int process_proxy_reply(REQUEST *request, RADIUS_PACKET *reply)
        }
 
        old_server = request->server;
+       rad_assert(request->home_server != NULL);
 
        /*
         *      If the home server is virtual, just run pre_proxy from
@@ -3180,6 +3181,7 @@ do_home:
        }
 
        old_server = request->server;
+       rad_assert(request->home_server != NULL);
 
        /*
         *      If the home server is virtual, just run pre_proxy from