Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron committed Mar 13, 2020
1 parent a4b89a1 commit d356a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcl/src/rcl/graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ rcl_get_node_names(
}
}
// Check that none of the node namespaces are NULL
for (size_t i = 0u; i < node_names->size; ++i) {
for (size_t i = 0u; i < node_namespaces->size; ++i) {
if (!node_namespaces->data[i]) {
RCL_SET_ERROR_MSG("NULL node namespace returned by the RMW layer");
return RCL_RET_ERROR;
Expand Down

0 comments on commit d356a97

Please sign in to comment.