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