diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-14 06:41:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 06:41:59 +0100 |
commit | 070daf412604e205fbb717dc80b41fa74034293b (patch) | |
tree | b3b4d04557cf9b7c42811ab7ca8295ebad439810 /src/core/hle/ipc.h | |
parent | Merge pull request #2542 from jfmherokiller/httpsvclog (diff) | |
download | yuzu-070daf412604e205fbb717dc80b41fa74034293b.tar yuzu-070daf412604e205fbb717dc80b41fa74034293b.tar.gz yuzu-070daf412604e205fbb717dc80b41fa74034293b.tar.bz2 yuzu-070daf412604e205fbb717dc80b41fa74034293b.tar.lz yuzu-070daf412604e205fbb717dc80b41fa74034293b.tar.xz yuzu-070daf412604e205fbb717dc80b41fa74034293b.tar.zst yuzu-070daf412604e205fbb717dc80b41fa74034293b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/ipc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/ipc.h b/src/core/hle/ipc.h index 4535b61c0..bbaae8b79 100644 --- a/src/core/hle/ipc.h +++ b/src/core/hle/ipc.h @@ -77,7 +77,7 @@ union Header { */ inline u32 MakeHeader(u16 command_id, unsigned int normal_params_size, unsigned int translate_params_size) { - Header header; + Header header{}; header.command_id.Assign(command_id); header.normal_params_size.Assign(normal_params_size); header.translate_params_size.Assign(translate_params_size); @@ -112,7 +112,7 @@ union StaticBufferDescInfo { }; inline u32 StaticBufferDesc(u32 size, u8 buffer_id) { - StaticBufferDescInfo info; + StaticBufferDescInfo info{}; info.descriptor_type.Assign(StaticBuffer); info.buffer_id.Assign(buffer_id); info.size.Assign(size); @@ -150,7 +150,7 @@ union MappedBufferDescInfo { }; inline u32 MappedBufferDesc(u32 size, MappedBufferPermissions perms) { - MappedBufferDescInfo info; + MappedBufferDescInfo info{}; info.flags.Assign(MappedBuffer); info.perms.Assign(perms); info.size.Assign(size); |