]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Uneeded
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 22 Dec 2014 22:56:36 +0000 (17:56 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 22 Dec 2014 23:46:40 +0000 (18:46 -0500)
src/main/realms.c

index a6d7e7eded689a17059a4a5561867cf7dd39c568..d1353971fbb5f442dc580c6dc417f2c610a5d86b 100644 (file)
@@ -1215,11 +1215,7 @@ static int old_server_add(realm_config_t *rc, CONF_SECTION *cs,
                        return 0;
                }
 
-               /*
-                *  GCC throws signed comparison warning here without the cast
-                *  very strange...
-                */
-               if ((home_type_t) pool->server_type != type) {
+               if (pool->server_type != type) {
                        cf_log_err_cs(cs, "Inconsistent home server type for server pool \"%s\"", name);
                        return 0;
                }