summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-07 21:37:19 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-07 21:37:19 +0100
commitd04dcd3975941cb816f1413dd018aa1c95a959d6 (patch)
treea664be9a45f5feb2fa96da74ee32ba0f61d2e83a
parent05f30fb1dee7cff4812dde6a4fa3efe1cfe364c5 (diff)
Fix uninitialised value.
-rw-r--r--drumgizmo/output/alsa.cc2
1 files changed, 1 insertions, 1 deletions
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}
{
}