aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-12-18 13:31:31 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2013-12-18 13:47:31 +0200
commit17c44ea5af850bd03d4eeb245bb8fb35e7d07d90 (patch)
tree93ca08e509ca0f6d27b4028a5118f9c6c64cd2d6 /src
parente92cf71a8f4d51810de7c0f7a613402737d66168 (diff)
downloadpies-17c44ea5af850bd03d4eeb245bb8fb35e7d07d90.tar.gz
pies-17c44ea5af850bd03d4eeb245bb8fb35e7d07d90.tar.bz2
Upgrade grecs
Diffstat (limited to 'src')
-rw-r--r--src/pies.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pies.c b/src/pies.c
index 2767d0a..71faf91 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -585,7 +585,6 @@ _cb_env (enum grecs_callback_command cmd,
grecs_locus_t *locus,
void *varptr, grecs_value_t *value, void *cb_data)
{
- int argc;
char **argv;
char ***penv = varptr;
struct wordsplit ws;
@@ -598,8 +597,8 @@ _cb_env (enum grecs_callback_command cmd,
grecs_error (locus, 0, "wordsplit: %s", strerror (errno));
return 1;
}
- argc = ws.ws_wordc;
argv = ws.ws_wordv;
+ ws.ws_wordc = 0;
ws.ws_wordv = NULL;
break;

Return to:

Send suggestions and report system problems to the System administrator.