summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-12-20 16:54:56 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-12-20 16:54:56 +0100
commit02321ff4d595db763074080b3e55d040fc403a99 (patch)
treec0277ce40142135c5853034cb27b87ebc63075a6
parent4c5b1b6713628d91554d934ee72661b83232bbf7 (diff)
Fix uninitialised warning.
-rw-r--r--drumgizmo/input/jackmidi/jackmidi.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/drumgizmo/input/jackmidi/jackmidi.cc b/drumgizmo/input/jackmidi/jackmidi.cc
index 5496195..a6b49b7 100644
--- a/drumgizmo/input/jackmidi/jackmidi.cc
+++ b/drumgizmo/input/jackmidi/jackmidi.cc
@@ -60,8 +60,8 @@ public:
private:
void loadMap(std::string map) {}
- JackClient *jackclient;
- jack_port_t *midi_port;
+ JackClient *jackclient{nullptr};
+ jack_port_t *midi_port{nullptr};
size_t pos;