diff options
author | Rosen Penev <rosenp@gmail.com> | 2022-01-29 14:16:59 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2022-01-29 16:38:49 -0800 |
commit | 6e4bf0deafbdd573d6e67e10b00506185f2e8e4d (patch) | |
tree | 0708a75def0571bee170e2b8d1c04fecdb535d48 /net/radsecproxy/patches/300-uninit.patch | |
parent | 0d7ef9d9e1f8adaff22f0d91c88ab9e9d746f64b (diff) |
radsecproxy: fix compilation with newer GCC
Errors on uninitialized variable. Only on powerpc64 for some reason.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/radsecproxy/patches/300-uninit.patch')
-rw-r--r-- | net/radsecproxy/patches/300-uninit.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/radsecproxy/patches/300-uninit.patch b/net/radsecproxy/patches/300-uninit.patch new file mode 100644 index 000000000..578c86826 --- /dev/null +++ b/net/radsecproxy/patches/300-uninit.patch @@ -0,0 +1,11 @@ +--- a/gconfig.c ++++ b/gconfig.c +@@ -119,7 +119,7 @@ FILE *pushgconfpaths(struct gconffile ** + int i; + FILE *f = NULL; + glob_t globbuf; +- char *path, *curfile = NULL, *dir; ++ char *path = NULL, *curfile = NULL, *dir; + + /* if cfgpath is relative, make it relative to current config */ + if (*cfgpath == '/') |