mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 04:52:39 +02:00
kernel/ipc: Resolve missing initializer warnings
In C++ projects with higher warning levels, this header can cause some missing initializer warnings to leak over. This silences those from occurring.
This commit is contained in:
parent
3dde2148cc
commit
896c81246e
@ -98,7 +98,7 @@ typedef struct {
|
||||
* @param cmd IPC command structure.
|
||||
*/
|
||||
static inline void ipcInitialize(IpcCommand* cmd) {
|
||||
*cmd = (IpcCommand){0};
|
||||
*cmd = (IpcCommand){};
|
||||
}
|
||||
|
||||
/// IPC buffer descriptor.
|
||||
|
Loading…
Reference in New Issue
Block a user