Skip to content

Commit 5369960

Browse files
Remove unused nullptr case in expr2java
Was supposedly copy and paste from expr2cpp
1 parent 8cba08c commit 5369960

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/java_bytecode/expr2java.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,6 @@ std::string expr2javat::convert(
499499
else if(src.id()==ID_side_effect &&
500500
src.get(ID_statement)==ID_throw)
501501
return convert_function(src, "throw", precedence=16);
502-
else if(src.is_constant() && to_constant_expr(src).get_value()==ID_nullptr)
503-
return "nullptr";
504502
else if(src.id()==ID_unassigned)
505503
return "?";
506504
else if(src.id()=="pod_constructor")

0 commit comments

Comments
 (0)