Skip to content

Commit b63ec2c

Browse files
committed
Do not repeatedly define "value"
The very same name and value is already declared at the top of the function.
1 parent 09bffe4 commit b63ec2c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ansi-c/expr2c.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1968,8 +1968,6 @@ std::string expr2ct::convert_constant(
19681968
}
19691969
else if(type.id()==ID_pointer)
19701970
{
1971-
const irep_idt &value=to_constant_expr(src).get_value();
1972-
19731971
if(value==ID_NULL)
19741972
{
19751973
dest="NULL";

0 commit comments

Comments
 (0)