Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
83fa6982
Commit
83fa6982
authored
Jan 11, 2012
by
Nikias Bassen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libcnary: fix missing return value and missing variable initialization
parent
fd1dd885
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
node.c
libcnary/node.c
+2
-2
No files found.
libcnary/node.c
View file @
83fa6982
...
...
@@ -104,7 +104,7 @@ int node_detach(node_t* parent, node_t* child) {
int
node_insert
(
node_t
*
parent
,
unsigned
int
index
,
node_t
*
child
)
{
if
(
!
parent
||
!
child
)
return
;
if
(
!
parent
||
!
child
)
return
-
1
;
child
->
isLeaf
=
TRUE
;
child
->
isRoot
=
FALSE
;
child
->
parent
=
parent
;
...
...
@@ -209,7 +209,7 @@ int node_child_position(struct node_t* parent, node_t* child)
node_t
*
node_copy_deep
(
node_t
*
node
,
copy_func_t
copy_func
)
{
if
(
!
node
)
return
NULL
;
void
*
data
;
void
*
data
=
NULL
;
if
(
copy_func
)
{
data
=
copy_func
(
node
->
data
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment