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

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

From 62562409b3fd394bdb95fb657301bf45fbf0c4fe Mon Sep 17 00:00:00 2001
From: Led <ledest@gmail.com>
Date: Mon, 16 Feb 2015 10:50:54 +0200
Subject: [PATCH 12/12] fix build warning

memsup.c: In function 'get_basic_mem':
memsup.c:430:33: warning: unused variable 'pgSz' [-Wunused-variable]
---
 lib/os_mon/c_src/memsup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/os_mon/c_src/memsup.c b/lib/os_mon/c_src/memsup.c
index 117eda4..22a186a 100644
--- a/lib/os_mon/c_src/memsup.c
+++ b/lib/os_mon/c_src/memsup.c
@@ -426,7 +426,7 @@ get_extended_mem(memory_ext *me) {
 static void 
 get_basic_mem(unsigned long *tot, unsigned long *used, unsigned long *pagesize){
 #if defined(_SC_AVPHYS_PAGES)	/* Does this exist on others than Solaris2? */
-    unsigned long avPhys, phys, pgSz;
+    unsigned long avPhys, phys;
     
     phys = sysconf(_SC_PHYS_PAGES);
     avPhys = sysconf(_SC_AVPHYS_PAGES);
-- 
2.1.4