dev/ow: Tag an unreachable switch default.

Coverity reports an uninitialized "dir" in case the switch defaults
without hitting any case. Respect the original intent and quell the
false positive with the relatively new __unreachable() builtin.

CID:	1331566
This commit is contained in:
pfg 2016-05-16 20:04:38 +00:00
parent ae544e7120
commit 94feec382b

View File

@ -401,6 +401,8 @@ again:
if (++retries > 5)
return (EIO);
goto again;
default: /* NOTREACHED */
__unreachable();
}
if (dir) {
OWLL_WRITE_ONE(lldev, &timing_regular);