diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-09-02 14:07:25 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-09-03 10:23:44 +0200 |
commit | 9ecd36aa03c3f003202468c67083226bc150c102 (patch) | |
tree | e30bc35a0bc415e3ed2c06b4ec4defbb7850bae2 | |
parent | 752c645fd480ed7d64575deca2c3919e1292d65d (diff) | |
download | librest-9ecd36aa03c3f003202468c67083226bc150c102.tar.gz |
tests: Remove more unused variables/code
https://bugzilla.gnome.org/show_bug.cgi?id=735921
-rw-r--r-- | examples/lastfm-shout.c | 1 | ||||
-rw-r--r-- | tests/custom-serialize.c | 7 | ||||
-rw-r--r-- | 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; |