about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-08-01 22:20:36 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-08-01 22:20:36 +0000
commitea0a5b26622c9f86b4b3b7d5ba73babce77c24b0 (patch)
tree4f5dbcddec235fd24650ad1daa6e81f19d828da4 /Src/builtin.c
parentd5adfc3f11cb8cc8f459ebb6c6896fa941b5ad09 (diff)
downloadzsh-ea0a5b26622c9f86b4b3b7d5ba73babce77c24b0.tar.gz
zsh-ea0a5b26622c9f86b4b3b7d5ba73babce77c24b0.tar.xz
zsh-ea0a5b26622c9f86b4b3b7d5ba73babce77c24b0.zip
Silenced a compiler warning about a variable that might be used
unassigned.
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 443ebe903..b17b6d4aa 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -3283,7 +3283,7 @@ mod_export LinkList bufstack;
 int
 bin_print(char *name, char **args, Options ops, int func)
 {
-    int flen, width, prec, type, argc, n, narg, curlen;
+    int flen, width, prec, type, argc, n, narg, curlen = 0;
     int nnl = 0, fmttrunc = 0, ret = 0, maxarg = 0;
     int flags[5], *len;
     char *start, *endptr, *c, *d, *flag, *buf, spec[13], *fmt = NULL;