aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-16 17:22:02 -0400
committerDavid Robillard <d@drobilla.net>2016-08-16 17:22:02 -0400
commit4c526165a29cbd1a42374cbaf837d4e582b674bd (patch)
tree0c1244b7fb836d228d5e22c88563067fde5340d7
parentbaeedf6e12022bae290243476806b2f7dbfbd73c (diff)
downloadjalv-4c526165a29cbd1a42374cbaf837d4e582b674bd.tar.gz
jalv-4c526165a29cbd1a42374cbaf837d4e582b674bd.tar.bz2
jalv-4c526165a29cbd1a42374cbaf837d4e582b674bd.zip
Fix potential use of uninitialized variable
-rw-r--r--src/jalv_qt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp
index 114faf2..003b548 100644
--- a/src/jalv_qt.cpp
+++ b/src/jalv_qt.cpp
@@ -635,8 +635,8 @@ build_control_widget(Jalv* jalv)
FlowLayout* flowLayout = new FlowLayout();
QLayout* layout = flowLayout;
- LilvNode* lastGroup = NULL;
- QHBoxLayout* groupLayout;
+ LilvNode* lastGroup = NULL;
+ QHBoxLayout* groupLayout = NULL;
for (int i = 0; i < portContainers.count(); ++i) {
PortContainer portContainer = portContainers[i];
Port* port = portContainer.port;