diff options
| author | mycroft <mycroft@NetBSD.org> | 1998-07-27 17:55:17 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1998-07-27 17:55:17 +0000 |
| commit | ac70c0c5ed22809c52cfa393be6a3b4119b8ea04 (patch) | |
| tree | 936cdbd7816f5f071d2804c46a5e66ee8e880da0 /bin/expr/expr.c | |
| parent | 5582b71d9106269fe703334ce3f356ae62deb490 (diff) | |
Slight code reduction.
Diffstat (limited to 'bin/expr/expr.c')
| -rw-r--r-- | bin/expr/expr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/expr/expr.c b/bin/expr/expr.c index 1bc7d0af526..2f8e7ba569e 100644 --- a/bin/expr/expr.c +++ b/bin/expr/expr.c @@ -1,4 +1,4 @@ -/* $NetBSD: expr.c,v 1.6 1998/07/27 17:06:48 mycroft Exp $ */ +/* $NetBSD: expr.c,v 1.7 1998/07/27 17:55:17 mycroft Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. @@ -175,7 +175,6 @@ to_string(vp) err(2, "%s", ""); } (void)snprintf(tmp, 25, "%d", vp->u.i); - tmp[24] = '\0'; vp->type = string; vp->u.s = tmp; } |
