[gnome-photos/gnome-3-20] base-item: Silence -Wunused-but-set-variable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-20] base-item: Silence -Wunused-but-set-variable
- Date: Tue, 9 Aug 2016 18:17:56 +0000 (UTC)
commit 9cd3d59fd2860a2ebf7815e46ac3365af094fcfd
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Aug 9 20:15:53 2016 +0200
base-item: Silence -Wunused-but-set-variable
Fall out from 1b2db97643101345354261b63e81ba6006fb23f5
src/photos-base-item.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index bef9dd0..535034d 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -1673,11 +1673,7 @@ photos_base_item_filterable_iface_init (PhotosFilterableInterface *iface)
gboolean
photos_base_item_can_edit (PhotosBaseItem *self)
{
- PhotosBaseItemPrivate *priv;
-
g_return_val_if_fail (PHOTOS_IS_BASE_ITEM (self), FALSE);
- priv = self->priv;
-
return PHOTOS_BASE_ITEM_GET_CLASS (self)->create_pipeline_path != NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]