summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/lastfm-shout.c1
-rw-r--r--tests/custom-serialize.c7
-rw-r--r--tests/xml.c1
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;