[gnome-commander] Fix gcc warning about variable shadowing



commit 28296c8adbe412e2cf5c8a3a8a544c061ed8c07a
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Tue Apr 18 22:16:35 2017 +0200

    Fix gcc warning about variable shadowing

 src/gnome-cmd-plain-path.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-plain-path.h b/src/gnome-cmd-plain-path.h
index c9be5f5..10bd2db 100644
--- a/src/gnome-cmd-plain-path.h
+++ b/src/gnome-cmd-plain-path.h
@@ -38,7 +38,7 @@ class GnomeCmdPlainPath: public GnomeCmdPath
   public:
 
     GnomeCmdPlainPath(const GnomeCmdPlainPath &thePath);
-    explicit GnomeCmdPlainPath(const gchar *path) {  this->path = g_strdup (path);  }
+    explicit GnomeCmdPlainPath(const gchar *plain_path) {  this->path = g_strdup (plain_path);  }
     virtual ~GnomeCmdPlainPath()                  {  g_free (path);                 }
 
     virtual const gchar *get_path()               {  return path;                   }


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