summaryrefslogtreecommitdiffstats
path: root/src/gui/ConnectWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 15:49:26 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commit97dc2836a62625656a2af0e8def015ea0c322046 (patch)
tree5a6e32bc67f93876eeadb36b77ccd45976a3c354 /src/gui/ConnectWindow.cpp
parent483ecd16de6801aed536eca64ed51a6a4c669e39 (diff)
downloadingen-97dc2836a62625656a2af0e8def015ea0c322046.tar.gz
ingen-97dc2836a62625656a2af0e8def015ea0c322046.tar.bz2
ingen-97dc2836a62625656a2af0e8def015ea0c322046.zip
Fix uninitialized members
Diffstat (limited to 'src/gui/ConnectWindow.cpp')
-rw-r--r--src/gui/ConnectWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp
index fc9e7cab..65cb1c7d 100644
--- a/src/gui/ConnectWindow.cpp
+++ b/src/gui/ConnectWindow.cpp
@@ -463,7 +463,7 @@ ConnectWindow::gtk_callback()
}
// Timing stuff for repeated attach attempts
- timeval now;
+ timeval now = {};
gettimeofday(&now, nullptr);
static const timeval start = now;
static timeval last = now;