0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-25 00:42:29 +00:00
Files
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 == '/')