From fef9530ca5da99aa32dc72d8f944cb1d0ddb5413 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Tue, 30 Dec 2014 16:18:50 +0100 Subject: [PATCH] fix error: variable 'mem' set but not used [-Werror=unused-but-set-variable] --- lib/nghttp2_session.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index 2c25e903..74118f4d 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -2219,9 +2219,7 @@ static int session_after_frame_sent1(nghttp2_session *session) { nghttp2_outbound_item *item = aob->item; nghttp2_bufs *framebufs = &aob->framebufs; nghttp2_frame *frame; - nghttp2_mem *mem; - mem = &session->mem; frame = &item->frame; if (frame->hd.type != NGHTTP2_DATA) {