]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Replace else-if with else 537/head
authorRose <83477269+AtariDreams@users.noreply.github.com>
Thu, 17 Nov 2022 15:17:22 +0000 (10:17 -0500)
committerRose <83477269+AtariDreams@users.noreply.github.com>
Tue, 22 Nov 2022 22:29:18 +0000 (17:29 -0500)
This is just silly otherwise and it is causing unneeded compiler warnings

cups/adminutil.c

index d66918cb7548b2ca164bb27b01621bd2fee3798f..e44189c61e1a9d892ab376465640b008d26a7eaf 100644 (file)
@@ -839,7 +839,7 @@ cupsAdminSetServerSettings(
 
        if (remote_admin)
           cupsFilePuts(temp, "  # Allow remote administration...\n");
-       else if (remote_admin == 0)
+       else
           cupsFilePuts(temp, "  # Restrict access to the admin pages...\n");
 
         cupsFilePuts(temp, "  Order allow,deny\n");