Commit e10203864156ff7c31cae101448b4bcaf7dba58f

Authored by Heinrich Schuchardt
Committed by Alexander Graf
1 parent d3dce35aab

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

lib/efi_selftest/efi_selftest_textinputex.c
... ... @@ -116,7 +116,7 @@
116 116 */
117 117 static int execute(void)
118 118 {
119   - struct efi_key_data input_key = {0,};
  119 + struct efi_key_data input_key = { {0, 0}, {0, 0} };
120 120 efi_status_t ret;
121 121 efi_uintn_t index;
122 122