From 22819e640a5802810a4c783f14740e1bf2f84e47 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 26 Feb 2018 14:00:29 +0200 Subject: [PATCH] Fixed GCC 4.9 compilation error src/sound/timiditypp/instrum.cpp:45:26: error: array used as initializer --- src/sound/timiditypp/instrum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/timiditypp/instrum.h b/src/sound/timiditypp/instrum.h index 68b5f41c2..0119159b3 100644 --- a/src/sound/timiditypp/instrum.h +++ b/src/sound/timiditypp/instrum.h @@ -335,7 +335,7 @@ class Instruments int progbase = 0; int32_t modify_release = 0; bool opt_sf_close_each_file = true; - char def_instr_name[256] = ""; + char def_instr_name[256] = { '\0' }; SFInsts *sfrecs = nullptr; SFInsts *current_sfrec = nullptr;