Преглед изворни кода

efi_selftest: missing braces in efi_selftest_textinputex.c

gcc 4.8.4 wants to see all levels of braces when initializing a
structure to zeros.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Heinrich Schuchardt пре 5 година
родитељ
комит
e102038641
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/efi_selftest/efi_selftest_textinputex.c

+ 1 - 1
lib/efi_selftest/efi_selftest_textinputex.c

@@ -116,7 +116,7 @@ static int teardown(void)
  */
 static int execute(void)
 {
-	struct efi_key_data input_key = {0,};
+	struct efi_key_data input_key = { {0, 0}, {0, 0} };
 	efi_status_t ret;
 	efi_uintn_t index;