]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove dead code. CID #1445223
authorAlan T. DeKok <aland@freeradius.org>
Sat, 25 May 2019 01:56:16 +0000 (21:56 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 27 May 2019 19:47:00 +0000 (15:47 -0400)
src/lib/server/command.c

index 14ab587124291fd4b60a72f0a4cb3edde38e6bc7..673924f5e7e75cc829c2680d72bd86fa1e1da55c 100644 (file)
@@ -2149,12 +2149,6 @@ int fr_command_str_to_argv(fr_cmd_t *head, fr_cmd_info_t *info, char const *text
                return -1;
        }
 
-
-       if (!head) {
-               fr_strerror_printf("No commands to run.");
-               return -1;
-       }
-
        /*
         *      Must have something to check.
         */