[nautilus-ideviceinfo/gtk3] Fix 'self-assignment' in nautilus_ideviceinfo_page_dispose
- From: Martin Szulecki <mszulecki src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-ideviceinfo/gtk3] Fix 'self-assignment' in nautilus_ideviceinfo_page_dispose
- Date: Wed, 24 Dec 2014 15:42:52 +0000 (UTC)
commit f79885c3bc826874383881bdc94d73c8abce9eea
Author: Christophe Fergeau <cfergeau redhat com>
Date: Thu Dec 11 15:37:07 2014 +0100
Fix 'self-assignment' in nautilus_ideviceinfo_page_dispose
Assigning a variable to itself when declaring it will result in it being
uninitialized.
src/ideviceinfo-property-page.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ideviceinfo-property-page.c b/src/ideviceinfo-property-page.c
index 5d87186..2316a97 100644
--- a/src/ideviceinfo-property-page.c
+++ b/src/ideviceinfo-property-page.c
@@ -693,7 +693,7 @@ leave:
static void
nautilus_ideviceinfo_page_dispose (GObject *object)
{
- NautilusIdeviceinfoPage *di = (NautilusIdeviceinfoPage *) di;
+ NautilusIdeviceinfoPage *di = (NautilusIdeviceinfoPage *) object;
if (di && di->priv) {
if (di->priv->builder) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]