libchardriver: resolve Coverity warnings
This commit is contained in:
parent
55c3f4800e
commit
0b30c0a1bb
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ static void async_reply(message *mess, int r)
|
|||
if (r == ERESTART)
|
||||
return;
|
||||
|
||||
memset(&reply_mess, 0, sizeof(reply_mess));
|
||||
|
||||
switch (mess->m_type) {
|
||||
case DEV_OPEN:
|
||||
reply_mess.m_type = DEV_OPEN_REPL;
|
||||
|
|
Loading…
Reference in a new issue