diff options
| author | Bart Schaefer <barts@users.sourceforge.net> | 2001-05-28 17:39:00 +0000 |
|---|---|---|
| committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-05-28 17:39:00 +0000 |
| commit | ecbc4e445792cb445207253bf9eab83322701178 (patch) | |
| tree | 2af23d3e1412a73487f0529685a27840f9d62f04 /Src/Modules | |
| parent | More device and FIFO test tweaks. (diff) | |
| download | zsh-ecbc4e445792cb445207253bf9eab83322701178.tar zsh-ecbc4e445792cb445207253bf9eab83322701178.tar.gz zsh-ecbc4e445792cb445207253bf9eab83322701178.tar.bz2 zsh-ecbc4e445792cb445207253bf9eab83322701178.tar.lz zsh-ecbc4e445792cb445207253bf9eab83322701178.tar.xz zsh-ecbc4e445792cb445207253bf9eab83322701178.tar.zst zsh-ecbc4e445792cb445207253bf9eab83322701178.zip | |
Silence compiler warnings.
Diffstat (limited to 'Src/Modules')
| -rw-r--r-- | Src/Modules/zprof.c | 4 |
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; |
