Add default clauses to switch statements

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2018-04-01 01:54:42 +01:00
parent 516e4578ea
commit 85ece88268
5 changed files with 16 additions and 2 deletions

View File

@@ -325,6 +325,8 @@ void Patch(void)
pPatch->nLineNo);
}
break;
default:
errx(1, "%s: Internal error.", __func__);
}
pPatch = pPatch->pNext;