-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More cleanups around the code. (#109)
* Use a keyexpression slice. That way we don't have to do an allocation here. Signed-off-by: Chris Lalancette <[email protected]> * Cleanup graph_sub_data_handler. Get rid of some unnecessary operations, and be sure to always drop the keyexpr, even on error. Signed-off-by: Chris Lalancette <[email protected]> * Remove unnecessary comment. Signed-off-by: Chris Lalancette <[email protected]> * Remove unnecessary malloc/memcpy/free. Signed-off-by: Chris Lalancette <[email protected]> * Switch to z_undeclare_queryable. It's just the counterpart to z_declare_queryable. Signed-off-by: Chris Lalancette <[email protected]> --------- Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
60c4380
commit 2d4bac7
Showing
2 changed files
with
18 additions
and
36 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
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