[libsoup] ntlm-test: kill some dead code
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] ntlm-test: kill some dead code
- Date: Wed, 2 Jan 2013 20:37:51 +0000 (UTC)
commit 169483bab63dc505c7d6c304d05c5ad8a7278452
Author: Dan Winship <danw gnome org>
Date: Tue Jan 1 21:30:05 2013 -0500
ntlm-test: kill some dead code
tests/ntlm-test.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/tests/ntlm-test.c b/tests/ntlm-test.c
index e2dc23a..3184ffc 100644
--- a/tests/ntlm-test.c
+++ b/tests/ntlm-test.c
@@ -458,7 +458,6 @@ do_ntlm_tests (SoupURI *base_uri, gboolean use_builtin_ntlm)
int
main (int argc, char **argv)
{
- GMainLoop *loop;
SoupServer *server;
GHashTable *connections;
SoupURI *uri;
@@ -470,8 +469,6 @@ main (int argc, char **argv)
soup_server_add_handler (server, NULL,
server_callback, connections, NULL);
- loop = g_main_loop_new (NULL, TRUE);
-
uri = soup_uri_new ("http://127.0.0.1/");
soup_uri_set_port (uri, soup_server_get_port (server));
@@ -500,8 +497,6 @@ main (int argc, char **argv)
soup_uri_free (uri);
- g_main_loop_unref (loop);
-
soup_test_server_quit_unref (server);
test_cleanup ();
g_hash_table_destroy (connections);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]