tests/simple-proxy.c: remove obvious dead assignment noted by clang
authorDan Winship <danw@gnome.org>
Sat, 23 Jan 2010 21:02:09 +0000 (16:02 -0500)
committerDan Winship <danw@gnome.org>
Sat, 23 Jan 2010 21:02:09 +0000 (16:02 -0500)
tests/simple-proxy.c

index b8cd164..117c3ff 100644 (file)
@@ -93,7 +93,6 @@ server_callback (SoupServer *server, SoupMessage *msg,
                return;
        }
 
-       msg2 = soup_message_new (msg->method, uristr);
         msg2 = soup_message_new (msg->method, uristr);
        soup_message_headers_foreach (msg->request_headers, copy_header,
                                      msg2->request_headers);