summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/zprof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Modules/zprof.c b/Src/Modules/zprof.c
index 4034f9273..9c7acb334 100644
--- a/Src/Modules/zprof.c
+++ b/Src/Modules/zprof.c
@@ -219,11 +219,11 @@ zprof_wrapper(Eprog prog, FuncWrap w, char *name)
 {
     int active = 0;
     struct sfunc sf, *sp;
-    Pfunc f;
+    Pfunc f = NULL;
     Parc a = NULL;
     struct timeval tv;
     struct timezone dummy;
-    double prev, now;
+    double prev = 0, now;
 
     if (zprof_module && !(zprof_module->flags & MOD_UNLOAD)) {
         active = 1;