[PATCH 8/8] erlc: remove unused variable

Michael Santos michael.santos@REDACTED
Sat Oct 2 01:57:08 CEST 2010


---
 erts/etc/common/erlc.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/erts/etc/common/erlc.c b/erts/etc/common/erlc.c
index b59453a..cd13743 100644
--- a/erts/etc/common/erlc.c
+++ b/erts/etc/common/erlc.c
@@ -148,10 +148,6 @@ int
 main(int argc, char** argv)
 {
     char cwd[MAXPATHLEN];	/* Current working directory. */
-    char** rpc_eargv;		/* Pointer to the beginning of arguments
-				 * if calling a running Erlang system
-				 * via erl_rpc().
-				 */
     int eargv_size;
     int eargc_base;		/* How many arguments in the base of eargv. */
     char* emulator;
@@ -192,7 +188,6 @@ main(int argc, char** argv)
     PUSH2("-mode", "minimal");
     PUSH2("-boot", "start_clean");
     PUSH3("-s", "erl_compile", "compile_cmdline");
-    rpc_eargv = eargv+eargc;
 
     /*
      * Push standard arguments to Erlang.
-- 
1.7.0.4



More information about the erlang-patches mailing list