[gnome-commander/get_rid_of_xml] Initialize pointers with null
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/get_rid_of_xml] Initialize pointers with null
- Date: Mon, 14 Jan 2019 21:55:47 +0000 (UTC)
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]