libchardriver: resolve Coverity warnings

This commit is contained in:
David van Moolenbroek 2012-07-27 15:02:12 +00:00
parent 55c3f4800e
commit 0b30c0a1bb

View file

@ -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;