[gnome-commander] GnomeCmdSmbPath: eliminate redundant g_strdup()



commit 12ea140f943ed93df6aa28f2cba25d9406bb41a6
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Tue Jun 21 23:30:28 2011 +0200

    GnomeCmdSmbPath: eliminate redundant g_strdup()

 src/gnome-cmd-smb-path.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-smb-path.h b/src/gnome-cmd-smb-path.h
index c84d488..f570370 100644
--- a/src/gnome-cmd-smb-path.h
+++ b/src/gnome-cmd-smb-path.h
@@ -52,7 +52,6 @@ class GnomeCmdSmbPath: public GnomeCmdPath
 
 inline GnomeCmdSmbPath::GnomeCmdSmbPath(const GnomeCmdSmbPath &thePath)
 {
-    path = g_strdup (thePath.path);
     workgroup = g_strdup (thePath.workgroup);
     resource = g_strdup (thePath.resource);
     resource_path = g_strdup (thePath.resource_path);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]