From c4f5bbfab513cd5291fbec7f0781be18c9aeb4f4 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 20 Dec 2015 16:55:52 +0100 Subject: Fix uninitialised warning. --- drumgizmo/output/jackaudio/jackaudio.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drumgizmo/output/jackaudio') diff --git a/drumgizmo/output/jackaudio/jackaudio.cc b/drumgizmo/output/jackaudio/jackaudio.cc index 5c04146..511c145 100644 --- a/drumgizmo/output/jackaudio/jackaudio.cc +++ b/drumgizmo/output/jackaudio/jackaudio.cc @@ -57,10 +57,10 @@ public: size_t samplerate(); private: - JackClient *jackclient; - jack_port_t *output_port[64]; - size_t nchannels; - sample_t **channels; + JackClient *jackclient{nullptr}; + jack_port_t *output_port[64] = {}; + size_t nchannels{0}; + sample_t **channels{nullptr}; Semaphore sem; }; -- cgit v1.2.3