aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-10-10 21:53:13 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-10-10 21:53:13 +0200
commit0cf50ae4c064bd2d8960ffd1e14f97402b8f5157 (patch)
tree8c78e943bad2fd68bc7abf2d1d10bf193e37e941 /builtin.c
parent35d9ad9209592594905d1c8f15130d09af111411 (diff)
downloadegawk-0cf50ae4c064bd2d8960ffd1e14f97402b8f5157.tar.gz
egawk-0cf50ae4c064bd2d8960ffd1e14f97402b8f5157.tar.bz2
egawk-0cf50ae4c064bd2d8960ffd1e14f97402b8f5157.zip
Remove some compile time warnings.
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin.c b/builtin.c
index 53800fc2..072fd8ff 100644
--- a/builtin.c
+++ b/builtin.c
@@ -2422,7 +2422,7 @@ do_sub(int nargs, unsigned int flags)
size_t len;
char *matchstart;
char *text;
- size_t textlen;
+ size_t textlen = 0;
char *repl;
char *replend;
size_t repllen;