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

From 375011a056d49489897d1f54e09f2f84ea0bf710 Mon Sep 17 00:00:00 2001
From: Led <ledest@gmail.com>
Date: Mon, 16 Feb 2015 10:49:27 +0200
Subject: [PATCH 11/12] fix build warning

memsup.c: In function 'get_mem_procfs':
memsup.c:279:19: warning: unused variable 'value' [-Wunused-variable]
---
 lib/os_mon/c_src/memsup.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/os_mon/c_src/memsup.c b/lib/os_mon/c_src/memsup.c
index b5114d1..117eda4 100644
--- a/lib/os_mon/c_src/memsup.c
+++ b/lib/os_mon/c_src/memsup.c
@@ -276,7 +276,6 @@ get_mem_procfs(memory_ext *me){
     int fd, nread;
     char buffer[4097];
     char *bp;
-    unsigned long value;
     
     me->flag = 0;
     
-- 
2.1.4

openSUSE Build Service is sponsored by