From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinson Lee Subject: [PATCH] Remove unused variable in fds/drm.c. Date: Fri, 4 Dec 2015 02:16:26 -0800 Message-ID: <1449224186-28318-1-git-send-email-vlee@freedesktop.org> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Sender: trinity-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8" To: trinity@vger.kernel.org =46ix with build error with GCC 5.2.1. CC fds/drm.o fds/drm.c: In function =E2=80=98open_drm_fds=E2=80=99: fds/drm.c:70:15: error: unused variable =E2=80=98i=E2=80=99 [-Werror=3D= unused-variable] unsigned int i; ^ Signed-off-by: Vinson Lee --- fds/drm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fds/drm.c b/fds/drm.c index b7fc867..4c9b5c5 100644 --- a/fds/drm.c +++ b/fds/drm.c @@ -67,7 +67,6 @@ static void add_drm_obj(int fd) =20 static int open_drm_fds(void) { - unsigned int i; int fd, dfd; DIR *dir; struct dirent *entry; --=20 2.6.3