Skip to content

Commit 04fafbc

Browse files
ademmingsjeanlego
authored andcommitted
removed (potentially) unnecessary calloc (#509)
1 parent b7db9e8 commit 04fafbc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ODIN_II/SRC/parse_making_ast.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,8 +1716,7 @@ ast_node_t *newDefparam(ids /*id*/, ast_node_t *val, int line_number)
17161716
{
17171717
ast_node_t *new_node = NULL;
17181718
ast_node_t *ref_node;
1719-
char *module_instance_name = (char*)vtr::calloc(1024,sizeof(char));
1720-
module_instance_name = NULL;
1719+
char *module_instance_name = NULL;
17211720
long i;
17221721
int j;
17231722
//long sc_spot;

0 commit comments

Comments
 (0)