Skip to content

Commit 70b96ab

Browse files
authored
Merge pull request #3940 from tautschnig/deprecation-nil_typet-unreachable
Remove unreachable statement [blocks: #3800]
2 parents ab81ffc + 4bdd1ae commit 70b96ab

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)