Skip to content

Commit 4bdd1ae

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

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
@@ -210,7 +210,8 @@ typet java_type_from_char(char t)
210210
case 'd': return java_double_type();
211211
case 'z': return java_boolean_type();
212212
case 'a': return java_reference_type(void_typet());
213-
default: UNREACHABLE; return nil_typet();
213+
default:
214+
UNREACHABLE;
214215
}
215216
}
216217

0 commit comments

Comments
 (0)