From d04dcd3975941cb816f1413dd018aa1c95a959d6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 7 Dec 2016 21:37:19 +0100 Subject: Fix uninitialised value. --- drumgizmo/output/alsa.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drumgizmo/output') diff --git a/drumgizmo/output/alsa.cc b/drumgizmo/output/alsa.cc index 1241cad..f340c30 100644 --- a/drumgizmo/output/alsa.cc +++ b/drumgizmo/output/alsa.cc @@ -36,7 +36,7 @@ struct AlsaInitError const std::string msg; AlsaInitError(int op_code, const std::string& msg) - : code{code} + : code{op_code} , msg{msg} { } -- cgit v1.2.3