[gnome-photos] organize-collection-view: Remove redundant NULL check
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] organize-collection-view: Remove redundant NULL check
- Date: Wed, 21 Jan 2015 10:39:25 +0000 (UTC)
commit 5af3816c3c79efcc44384e37a2be361d84125853
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Jan 21 11:05:09 2015 +0100
organize-collection-view: Remove redundant NULL check
src/photos-organize-collection-view.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-organize-collection-view.c b/src/photos-organize-collection-view.c
index 076bfd4..afc12b9 100644
--- a/src/photos-organize-collection-view.c
+++ b/src/photos-organize-collection-view.c
@@ -138,8 +138,7 @@ photos_organize_collection_view_create_collection_executed (const gchar *created
out:
g_clear_object (&job);
- if (path != NULL)
- gtk_tree_path_free (path);
+ gtk_tree_path_free (path);
g_object_unref (self);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]