Skip to content

Commit 4a35833

Browse files
committed
examples REFACTOR unused variable
Fixes #562
1 parent 09cac5e commit 4a35833

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/server.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include "session_server_ch.h"
3636

3737
volatile int exit_application = 0;
38-
struct lyd_node *tree;
3938

4039
static void
4140
sigint_handler(int signum)
@@ -381,7 +380,6 @@ main(int argc, char **argv)
381380
}
382381
nc_ps_free(ps);
383382
nc_server_destroy();
384-
lyd_free_all(tree);
385383
ly_ctx_destroy(context);
386384
return rc;
387385
}

0 commit comments

Comments
 (0)