Fixed issue with compiler error.
This commit is contained in:
parent
7cb4792946
commit
9568de6710
@ -35,6 +35,7 @@ include_directories(
|
||||
"include/")
|
||||
|
||||
set(SRCS
|
||||
src/error.c
|
||||
src/neocomm.c
|
||||
src/nodes.c)
|
||||
|
||||
|
@ -111,7 +111,7 @@ struct NeoComm_node *NeoComm_add_node(struct NeoComm_address addr) {
|
||||
return &node_list[i];
|
||||
}
|
||||
|
||||
struct NeoComm_node *new_node;
|
||||
struct NeoComm_node *new_node = NULL;
|
||||
for(unsigned int i = 0; i < node_max; ++i)
|
||||
{
|
||||
if(!node_list[i].address.address)
|
||||
|
Loading…
Reference in New Issue
Block a user