From a27e395a3ec92ebbd7e88c4b03f822f7d89d53fe Mon Sep 17 00:00:00 2001 From: Youngjae Shin Date: Mon, 25 Sep 2017 13:39:45 +0900 Subject: [PATCH] fix build warning Change-Id: I75d689f1fd1bcb5881eb0409a43819f37b3ceda2 --- memps.c | 1 - 1 file changed, 1 deletion(-) diff --git a/memps.c b/memps.c index 945650b..524f51d 100644 --- 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"); -- 2.7.4