fix build warning 72/152072/1 accepted/tizen/unified/20170929.081742 submit/tizen/20170928.120154
authorYoungjae Shin <yj99.shin@samsung.com>
Mon, 25 Sep 2017 04:39:45 +0000 (13:39 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Mon, 25 Sep 2017 04:39:45 +0000 (13:39 +0900)
Change-Id: I75d689f1fd1bcb5881eb0409a43819f37b3ceda2

memps.c

diff --git a/memps.c b/memps.c
index 945650b..524f51d 100644 (file)
--- a/memps.c
+++ b/memps.c
@@ -871,7 +871,6 @@ static const char* get_readable_oom_path(void)
 {
        FILE *fp = NULL;
        char tmp[256];
-       int r;
 
        snprintf(tmp, sizeof(tmp), "/proc/1/%s", OOM_SCORE_ADJ_STR);
        fp = fopen(tmp, "r");