resolve: work around clang limitation
authorLennart Poettering <lennart@poettering.net>
Mon, 1 Feb 2016 20:32:54 +0000 (21:32 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 1 Feb 2016 21:18:16 +0000 (22:18 +0100)
commitfb8a9fc9b5ec53b13f9c2acad48b9a7f6579acfa
treec2b0e117cb76a2a40420c5ad4b3878b19d152f3f
parent1e5b6b4f2861ad2b31571065b60b05fca85047b1
resolve: work around clang limitation

clang is apparently not smart enough to detect when a switch statement contains case statements for all possible values
of the used type. Work around that.

(And while we are at it, normalize indentation a bit)

Fixes: #2504
src/resolve/dns-type.c