mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
coverity/133900: intitialize scalar variable in struct
This commit is contained in:
parent
58b5e14387
commit
4ca8a69067
@ -14,8 +14,9 @@ typedef struct libuv_process {
|
||||
|
||||
static inline LibuvProcess libuv_process_init(Loop *loop, void *data)
|
||||
{
|
||||
LibuvProcess rv;
|
||||
rv.process = process_init(loop, kProcessTypeUv, data);
|
||||
LibuvProcess rv = {
|
||||
.process = process_init(loop, kProcessTypeUv, data)
|
||||
};
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user