]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
initialize handle
authorAlan T. DeKok <aland@freeradius.org>
Wed, 13 Apr 2022 16:34:04 +0000 (12:34 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 13 Apr 2022 16:34:04 +0000 (12:34 -0400)
scripts/build/dlopen.c

index 3e0de25a6837fd2ef22f76ba43e350fac3f2d44a..039d6628a7a0f249dec44222fa7a2d07f4181f4e 100644 (file)
@@ -275,7 +275,7 @@ static char *get_filename(void *handle)
  */
 static char *make_dlopen(__attribute__((unused)) char const *nm, unsigned int argc, char **argv)
 {
-       void *handle;
+       void *handle = NULL;
        int mode = RTLD_NOW;
        char *p, *name, *libname;
        char const *error = NULL;