1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-26 09:37:44 +02:00
openwrt-packages/net/radsecproxy/patches/300-uninit.patch
Rosen Penev 6e4bf0deaf radsecproxy: fix compilation with newer GCC
Errors on uninitialized variable. Only on powerpc64 for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-29 16:38:49 -08:00

12 lines
332 B
Diff

--- 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 == '/')