aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-07-04 08:35:48 +0200
committerLukas Larsson <[email protected]>2017-07-04 08:35:48 +0200
commitfcca55a9deb1cfaa107fbe5bf5d093decf423fcd (patch)
tree69d0296e7168589e720f764e63fce3bad760185e /erts
parentea5fbd3f832e4cc7342d33e5d205a8f3fe15af7c (diff)
parentf07821b47f8dcf69be22277e316167491a2ef295 (diff)
downloadotp-fcca55a9deb1cfaa107fbe5bf5d093decf423fcd.tar.gz
otp-fcca55a9deb1cfaa107fbe5bf5d093decf423fcd.tar.bz2
otp-fcca55a9deb1cfaa107fbe5bf5d093decf423fcd.zip
Merge branch 'maint'
Diffstat (limited to 'erts')
-rw-r--r--erts/etc/common/escript.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/erts/etc/common/escript.c b/erts/etc/common/escript.c
index 7f0af77a4c..9cd5dd3fab 100644
--- a/erts/etc/common/escript.c
+++ b/erts/etc/common/escript.c
@@ -74,7 +74,6 @@ static void error(char* format, ...);
static void* emalloc(size_t size);
static void efree(void *p);
static char* strsave(char* string);
-static void push_words(char* src);
static int run_erlang(char* name, char** argv);
static char* get_default_emulator(char* progname);
#ifdef __WIN32__
@@ -583,26 +582,6 @@ main(int argc, char** argv)
return run_erlang(eargv[0], eargv);
}
-static void
-push_words(char* src)
-{
- char sbuf[PMAX];
- char* dst;
-
- dst = sbuf;
- while ((*dst++ = *src++) != '\0') {
- if (isspace((int)*src)) {
- *dst = '\0';
- PUSH(strsave(sbuf));
- dst = sbuf;
- do {
- src++;
- } while (isspace((int)*src));
- }
- }
- if (sbuf[0])
- PUSH(strsave(sbuf));
-}
#ifdef __WIN32__
wchar_t *make_commandline(char **argv)
{