about summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-05-28 17:39:00 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-05-28 17:39:00 +0000
commitecbc4e445792cb445207253bf9eab83322701178 (patch)
tree2af23d3e1412a73487f0529685a27840f9d62f04 /Src/Modules
parent089275cd12bad51b6960f21a6431690bdbe7565a (diff)
downloadzsh-ecbc4e445792cb445207253bf9eab83322701178.tar.gz
zsh-ecbc4e445792cb445207253bf9eab83322701178.tar.xz
zsh-ecbc4e445792cb445207253bf9eab83322701178.zip
Silence compiler warnings.
Diffstat (limited to 'Src/Modules')
-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;