[gnome-desktop] thumbnail: Remove useless initialisation
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop] thumbnail: Remove useless initialisation
- Date: Mon, 28 Aug 2017 12:45:39 +0000 (UTC)
commit b050e2684a954e9476862e570723589d9181696a
Author: Bastien Nocera <hadess hadess net>
Date: Mon Aug 28 14:29:06 2017 +0200
thumbnail: Remove useless initialisation
The variable is set to a function return 2 lines below.
libgnome-desktop/gnome-desktop-thumbnail.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libgnome-desktop/gnome-desktop-thumbnail.c b/libgnome-desktop/gnome-desktop-thumbnail.c
index d86d8b1..c7ff6d5 100644
--- a/libgnome-desktop/gnome-desktop-thumbnail.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail.c
@@ -1045,8 +1045,6 @@ gnome_desktop_thumbnail_factory_generate_thumbnail (GnomeDesktopThumbnailFactory
if (factory->priv->size == GNOME_DESKTOP_THUMBNAIL_SIZE_LARGE)
size = 256;
- pixbuf = NULL;
-
pixbuf = get_preview_thumbnail (uri, size);
if (pixbuf != NULL)
return pixbuf;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]