[gnome-commander/get_rid_of_xml] Initialize pointers with null



commit 00a0817ff2677bdd2277d90c1106f89ec1ea6a4c
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Mon Jan 14 21:34:39 2019 +0100

    Initialize pointers with null

 src/gnome-cmd-con-device.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-cmd-con-device.cc b/src/gnome-cmd-con-device.cc
index d801c92a..28b38e60 100644
--- a/src/gnome-cmd-con-device.cc
+++ b/src/gnome-cmd-con-device.cc
@@ -39,10 +39,10 @@ using namespace std;
 
 struct GnomeCmdConDevicePrivate
 {
-    gchar *alias;
-    gchar *device_fn;
-    gchar *mountp;
-    gchar *icon_path;
+    gchar *alias {nullptr};
+    gchar *device_fn {nullptr};
+    gchar *mountp {nullptr};
+    gchar *icon_path {nullptr};
     gboolean autovolume;
     GnomeVFSVolume *vfsvol;
 };


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