summaryrefslogtreecommitdiffstats
path: root/libcnary/node.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-03-28 02:51:25 +0200
committerGravatar Nikias Bassen2017-03-28 02:51:25 +0200
commit1406766a0c75f6a861afb73f1606036f2da79bd5 (patch)
tree5e89dc744ad61fabfcbb2241a64d617a4c340f09 /libcnary/node.c
parentdccd9290745345896e3a4a73154576a599fd8b7b (diff)
downloadlibplist-1406766a0c75f6a861afb73f1606036f2da79bd5.tar.gz
libplist-1406766a0c75f6a861afb73f1606036f2da79bd5.tar.bz2
libcnary: Remove unused 'node' parameter from node_list_create()
Diffstat (limited to 'libcnary/node.c')
-rw-r--r--libcnary/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcnary/node.c b/libcnary/node.c
index fadc9de..6026925 100644
--- a/libcnary/node.c
+++ b/libcnary/node.c
@@ -61,7 +61,7 @@ node_t* node_create(node_t* parent, void* data) {
node->isLeaf = TRUE;
node->isRoot = TRUE;
node->parent = NULL;
- node->children = node_list_create(node);
+ node->children = node_list_create();
// Pass NULL to create a root node
if(parent != NULL) {