]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
initialize variable
authorAlan T. DeKok <aland@freeradius.org>
Fri, 14 May 2021 15:10:36 +0000 (11:10 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 14 May 2021 15:11:25 +0000 (11:11 -0400)
src/bin/radict.c

index 2523985209a7d196c15c6d754912b234c08cfcc8..03621db4cad91937f361a6cd596a9085a2af2e7f 100644 (file)
@@ -56,6 +56,7 @@ static void usage(void)
        fprintf(stderr, "  -E               Export dictionary definitions.\n");
        fprintf(stderr, "  -V               Write out all attribute values.\n");
        fprintf(stderr, "  -D <dictdir>     Set main dictionary directory (defaults to " DICTDIR ").\n");
+       fprintf(stderr, "  -p <protocol>    Set protocol by name\n");
        fprintf(stderr, "  -x               Debugging mode.\n");
        fprintf(stderr, "\n");
        fprintf(stderr, "Very simple interface to extract attribute definitions from FreeRADIUS dictionaries\n");
@@ -239,7 +240,7 @@ int main(int argc, char *argv[])
        bool                    found = false;
        bool                    export = false;
        bool                    file_export = false;
-       char const              *protocol;
+       char const              *protocol = NULL;
 
        TALLOC_CTX              *autofree;
        fr_dict_gctx_t const    *our_dict_gctx = NULL;