A new user interface for you! Read more...

File 0002-fix-build-warning.patch of Package erlang

From 2f890d99d8e364e4024d0b76655421cc51680468 Mon Sep 17 00:00:00 2001
From: Led <ledest@gmail.com>
Date: Mon, 16 Feb 2015 10:40:37 +0200
Subject: [PATCH 08/12] fix build warning

erl_memory.c: In function 'usage':
erl_memory.c:2299:9: warning: variable 'status' set but not used [-Wunused-but-set-variable]
---
 lib/tools/c_src/erl_memory.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/tools/c_src/erl_memory.c b/lib/tools/c_src/erl_memory.c
index 0257a17..c92e2e2 100644
--- a/lib/tools/c_src/erl_memory.c
+++ b/lib/tools/c_src/erl_memory.c
@@ -2293,7 +2293,6 @@ process_trace(em_state *state)
 static void
 usage(char *sw, char *error)
 {
-    int status = 0;
     FILE *filep = stdout;
 #ifdef __WIN32__
 #define SW_CHAR "/"
@@ -2303,7 +2302,6 @@ usage(char *sw, char *error)
 
     if (error) {
 	ASSERT(sw);
-	status = 1;
 	filep = stderr;
 	fprintf(filep, "emem: %s: %s\n", sw, error);
     }
-- 
2.1.4