summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2015-07-10 10:34:47 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-07-10 12:22:19 +0100
commit62714bce9ca0b7c8c292fdf916f658bbe7b6f35e (patch)
tree83980fc49a6e42c8e325d2fb8e88ca56e9981d1c
parent687c2768c3585da9c2e5878c9377f7f9a7f08a19 (diff)
downloadlibgdata-62714bce9ca0b7c8c292fdf916f658bbe7b6f35e.tar.gz
youtube: Remove a small amount of dead code
Set but unused variables.
-rw-r--r--gdata/services/youtube/gdata-youtube-video.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdata/services/youtube/gdata-youtube-video.c b/gdata/services/youtube/gdata-youtube-video.c
index 3f8b8685..61e3db8c 100644
--- a/gdata/services/youtube/gdata-youtube-video.c
+++ b/gdata/services/youtube/gdata-youtube-video.c
@@ -1778,7 +1778,6 @@ gdata_youtube_video_is_restricted_in_country (GDataYouTubeVideo *self, const gch
{
GDataYouTubeVideoPrivate *priv;
gboolean allowed_present, allowed_empty;
- gboolean blocked_present, blocked_empty;
gboolean in_allowed, in_blocked;
g_return_val_if_fail (GDATA_IS_YOUTUBE_VIDEO (self), FALSE);
@@ -1789,9 +1788,6 @@ gdata_youtube_video_is_restricted_in_country (GDataYouTubeVideo *self, const gch
allowed_present = (priv->region_restriction_allowed != NULL);
allowed_empty = (allowed_present &&
priv->region_restriction_allowed[0] == NULL);
- blocked_present = (priv->region_restriction_blocked != NULL);
- blocked_empty = (blocked_present &&
- priv->region_restriction_blocked[0] == NULL);
in_allowed = strv_contains ((const gchar * const *) priv->region_restriction_allowed, country);
in_blocked = strv_contains ((const gchar * const *) priv->region_restriction_blocked, country);