[gnome-commander/ConfigurableFileListColumns: 18/26] Initialize variable, go through all elements of a list
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/ConfigurableFileListColumns: 18/26] Initialize variable, go through all elements of a list
- Date: Sun, 12 May 2019 13:19:24 +0000 (UTC)
commit 721df1de6be205f2e59321c4a07086a33dfa4173
Author: Uwe Scholz <u scholz83 gmx de>
Date: Sat May 4 21:30:53 2019 +0200
Initialize variable, go through all elements of a list
src/gnome-cmd-file-list.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 76d70338..cf3149ee 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -731,8 +731,8 @@ void GnomeCmdFileList::create_column_titles()
for (guint ii = COLUMN_ICON; ii < NUM_COLUMNS; ii++)
{
- guint actualColumn;
- for (guint jj = COLUMN_NAME; jj < NUM_COLUMNS; jj++)
+ guint actualColumn {0};
+ for (guint jj = COLUMN_ICON; jj < NUM_COLUMNS; jj++)
{
if (ii == gnome_cmd_data.fileListColumnLayouts[jj].position)
actualColumn = jj;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]