libefi: Tag an unreachable switch default.

Coverity reports an uninitialized "len" 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:	1347796
This commit is contained in:
Pedro F. Giffuni 2016-05-16 20:00:09 +00:00
parent d2c82c0cfe
commit 98b6ade62d

View file

@ -266,6 +266,8 @@ CL(int direction)
case 2: /* entire line */
len = x;
break;
default: /* NOTREACHED */
__unreachable();
}
if (cury == y - 1)