Skip to content

Commit 4a9409c

Browse files
committed
Remove unreachable statement
nil_typet is deprecated, so this is a trivial fix to get rid of this use.
1 parent 4eb7d04 commit 4a9409c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jbmc/src/java_bytecode/java_types.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ typet java_type_from_char(char t)
199199
case 'd': return java_double_type();
200200
case 'z': return java_boolean_type();
201201
case 'a': return java_reference_type(void_typet());
202-
default: UNREACHABLE; return nil_typet();
202+
default:
203+
UNREACHABLE;
203204
}
204205
}
205206

0 commit comments

Comments
 (0)