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:
Lioncash 2019-04-15 18:52:35 -04:00 committed by fincs
parent 3dde2148cc
commit 896c81246e

View File

@ -98,7 +98,7 @@ typedef struct {
* @param cmd IPC command structure. * @param cmd IPC command structure.
*/ */
static inline void ipcInitialize(IpcCommand* cmd) { static inline void ipcInitialize(IpcCommand* cmd) {
*cmd = (IpcCommand){0}; *cmd = (IpcCommand){};
} }
/// IPC buffer descriptor. /// IPC buffer descriptor.