From 7a4d1e786cef5f0975b4981994b5c49e6bf454d9 Mon Sep 17 00:00:00 2001 From: Mat M Date: Fri, 5 Apr 2019 02:13:46 -0400 Subject: [PATCH] ldr_map: Silence lingering initializer warning (#500) One initializer warning case that I seem to have missed (my bad). --- stratosphere/loader/source/ldr_map.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/loader/source/ldr_map.hpp b/stratosphere/loader/source/ldr_map.hpp index 8af62f60f..28e4b85a0 100644 --- a/stratosphere/loader/source/ldr_map.hpp +++ b/stratosphere/loader/source/ldr_map.hpp @@ -170,6 +170,6 @@ struct MappedCodeMemory { /* TODO: panic(). */ } } - *this = (const MappedCodeMemory){0}; + *this = {}; } };