[librest] tests: Remove more unused variables/code



commit 9ecd36aa03c3f003202468c67083226bc150c102
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Tue Sep 2 14:07:25 2014 +0200

    tests: Remove more unused variables/code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735921

 examples/lastfm-shout.c  |    1 -
 tests/custom-serialize.c |    7 -------
 tests/xml.c              |    1 -
 3 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/examples/lastfm-shout.c b/examples/lastfm-shout.c
index 02894a4..5d82a9b 100644
--- a/examples/lastfm-shout.c
+++ b/examples/lastfm-shout.c
@@ -57,7 +57,6 @@ static void
 shout (RestProxy *proxy, const char *username, const char *message)
 {
   RestProxyCall *call;
-  RestXmlNode *root, *node;
   GError *error = NULL;
 
   call = rest_proxy_new_call (proxy);
diff --git a/tests/custom-serialize.c b/tests/custom-serialize.c
index 9d757fc..b50405d 100644
--- a/tests/custom-serialize.c
+++ b/tests/custom-serialize.c
@@ -108,12 +108,6 @@ server_callback (SoupServer *server, SoupMessage *msg,
   }
 }
 
-static gpointer
-func (gpointer data)
-{
-  return NULL;
-}
-
 int
 main (int argc, char **argv)
 {
@@ -121,7 +115,6 @@ main (int argc, char **argv)
   RestProxy *proxy;
   RestProxyCall *call;
   char *url;
-  int i;
   GError *error;
 
 #if !GLIB_CHECK_VERSION (2, 36, 0)
diff --git a/tests/xml.c b/tests/xml.c
index 161b56e..21e284b 100644
--- a/tests/xml.c
+++ b/tests/xml.c
@@ -28,7 +28,6 @@
 int
 main (int argc, char **argv)
 {
-  GError *error = NULL;
   RestXmlParser *parser;
   RestXmlNode *root, *node;
   char *xml;


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