gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 174/178: http2: remove unused variable


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 174/178: http2: remove unused variable
Date: Wed, 23 May 2018 12:26:49 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 005554570528dbaab2d0aaf7280014a7d99fafb7
Author: steini2000 <address@hidden>
AuthorDate: Mon May 14 17:49:06 2018 +0200

    http2: remove unused variable
    
    Closes #2570
---
 lib/http2.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lib/http2.c b/lib/http2.c
index 92cb3b62c..da001dfd0 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -559,7 +559,6 @@ static int on_frame_recv(nghttp2_session *session, const 
nghttp2_frame *frame,
   struct http_conn *httpc = &conn->proto.httpc;
   struct Curl_easy *data_s = NULL;
   struct HTTP *stream = NULL;
-  static int lastStream = -1;
   int rv;
   size_t left, ncopy;
   int32_t stream_id = frame->hd.stream_id;
@@ -590,9 +589,6 @@ static int on_frame_recv(nghttp2_session *session, const 
nghttp2_frame *frame,
     return 0;
   }
   data_s = nghttp2_session_get_stream_user_data(session, stream_id);
-  if(lastStream != stream_id) {
-    lastStream = stream_id;
-  }
   if(!data_s) {
     H2BUGF(infof(conn->data,
                  "No Curl_easy associated with stream: %x\n",

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]