jvc56 / MAGPIE

GNU General Public License v3.0
7 stars 1 forks source link

fix compilation error on clang #239

Closed olaugh closed 3 months ago

olaugh commented 3 months ago

I couldn't compile magpie on latest clang because it says the ld_type variable might be uninitialized in the case where now default is found. This is actually unreachable due to the log_fatal, so I've added __builtin_unreachable() to point this out to the compiler.