-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify local_namespace handling in rcl_node_init. (#1097)
There is a comment in there about avoiding a memory allocation, but that doesn't seem to make much sense to me; we are going to be doing an allocation directly below, so avoiding it here seems unnecessary and makes the code harder to follow. Simplify everything by always making an allocation Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
7fb6da3
commit 06d5745
Showing
1 changed file
with
17 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters