Skip to content

Commit e804c8c

Browse files
committed
Fix a compiler warning
1 parent f378b18 commit e804c8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/integers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ class Integer {
8989
case 2: return __builtin_bswap16(v);
9090
case 4: return __builtin_bswap32(v);
9191
case 8: return __builtin_bswap64(v);
92+
default: __builtin_unreachable();
9293
}
93-
__builtin_unreachable();
9494
}
9595

9696
uint8_t buf[size];

0 commit comments

Comments
 (0)