From 4b10a3091da3f87af5500345098a9223fa71e6fe Mon Sep 17 00:00:00 2001 From: Phenom Date: Wed, 2 Dec 2020 18:24:25 +0100 Subject: [PATCH] Fix uninitialised mTotalIdentities in GxsIdStatisticsWidget Conditional jump or move depends on uninitialised value(s) in GxsIdStatisticsWidget::updateContent() in /retroshare-gui/src/gui/ statistics/GxsIdStatistics.cpp:278 --- .../src/gui/statistics/GxsIdStatistics.cpp | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/retroshare-gui/src/gui/statistics/GxsIdStatistics.cpp b/retroshare-gui/src/gui/statistics/GxsIdStatistics.cpp index a09053deb..c7fe1068c 100644 --- a/retroshare-gui/src/gui/statistics/GxsIdStatistics.cpp +++ b/retroshare-gui/src/gui/statistics/GxsIdStatistics.cpp @@ -319,10 +319,10 @@ void GxsIdStatisticsWidget::updateContent() painter.drawLine(QPoint(ox+4*cellx,oy),QPoint(ox+4*cellx,oy-celly*hist_height)); uint32_t max_entry=0; - for(int i=0;i