From 4033d1fd0f25196f9a35e944679676277cd51960 Mon Sep 17 00:00:00 2001 From: Alex Burmashev Date: Wed, 10 Mar 2021 08:49:54 -0500 Subject: Fix compilation for older gcc Signed-off-by: Alex Burmashev --- shim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shim.c') diff --git a/shim.c b/shim.c index 6f627b1f..fd4c0322 100644 --- a/shim.c +++ b/shim.c @@ -1095,7 +1095,7 @@ EFI_STATUS start_image(EFI_HANDLE image_handle, CHAR16 *ImagePath) void *sourcebuffer = NULL; UINT64 sourcesize = 0; void *data = NULL; - int datasize; + int datasize = 0; /* * We need to refer to the loaded image protocol on the running -- cgit v1.2.3