aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt3
-rw-r--r--pseudo_wrappers.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index a2bbb61..38af947 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,6 @@
+2011-07-19:
+ * (seebs) initialize a variable in that "realpath" code.
+
2011-06-08:
* (seebs) Get the modern realpath from glibc instead of the old
one inexplicably proferred by RTLD_NEXT. Fixes realpath(path, NULL)
diff --git a/pseudo_wrappers.c b/pseudo_wrappers.c
index 07a4429..f11f172 100644
--- a/pseudo_wrappers.c
+++ b/pseudo_wrappers.c
@@ -92,7 +92,8 @@ pseudo_reinit_libpseudo(void) {
static void
pseudo_init_one_wrapper(pseudo_function *func) {
- int (*f)(void);
+ int (*f)(void) = (int (*)(void)) NULL;
+
char *e;
if (*func->real != NULL) {
/* already initialized */