From 5c5538c5721ab24ca3abb7bceb00299036f5d0d2 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 14 Jun 2015 15:03:41 +0000 Subject: [PATCH] fixed uninitialised variable in RSCollectionDialog git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8439 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/common/RsCollectionDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/common/RsCollectionDialog.cpp b/retroshare-gui/src/gui/common/RsCollectionDialog.cpp index 83989dc18..1d399ee97 100644 --- a/retroshare-gui/src/gui/common/RsCollectionDialog.cpp +++ b/retroshare-gui/src/gui/common/RsCollectionDialog.cpp @@ -659,7 +659,7 @@ void RsCollectionDialog::addRecursive(bool recursive) { QStringList fileToHash; QMap dirToAdd; - int count;//to not scan all items on list .count() + int count=0;//to not scan all items on list .count() QModelIndexList milSelectionList = ui._systemFileTW->selectionModel()->selectedIndexes(); foreach (QModelIndex index, milSelectionList)