Added more return statements to commented out code.
This commit is contained in:
parent
ca0a691020
commit
5c3e6889de
@ -103,6 +103,7 @@ int NeoComm_connect(const char *address, const unsigned short port) {
|
||||
if(not node.isRunning())
|
||||
{
|
||||
add_error("NeoComm must be initialized.");
|
||||
return 0;
|
||||
}
|
||||
std::ofstream export_file(node_file, std::ios::binary);
|
||||
if(not export_file.is_open())
|
||||
@ -111,4 +112,5 @@ int NeoComm_connect(const char *address, const unsigned short port) {
|
||||
return 0;
|
||||
}
|
||||
msgpack::pack(export_file, node.exportNodes());
|
||||
return 1;
|
||||
}*/
|
||||
|
Loading…
Reference in New Issue
Block a user