diff options
author | Tina Müller <cpan2@tinita.de> | 2020-05-17 13:26:13 +0200 |
---|---|---|
committer | Tina Müller <cpan2@tinita.de> | 2020-05-21 18:10:59 +0200 |
commit | 0032321756cee86a67171de425267c1d0d406092 (patch) | |
tree | 54d3483d6d840025cb2a94bfe4ef4df3d986a426 | |
parent | ce8357938cbfe23a5355200d6bf189bd09d58ef6 (diff) | |
download | libyaml-git-0032321756cee86a67171de425267c1d0d406092.tar.gz |
Remove unnecessary include and malloc
-rw-r--r-- | tests/run-emitter-test-suite.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/run-emitter-test-suite.c b/tests/run-emitter-test-suite.c index 9730b2b..5b09e7f 100644 --- a/tests/run-emitter-test-suite.c +++ b/tests/run-emitter-test-suite.c @@ -3,7 +3,6 @@ #include <stdlib.h> #include <stdio.h> #include <assert.h> -#include "../src/yaml_private.h" int get_line(FILE * input, char *line); char *get_anchor(char sigil, char *line, char *anchor); @@ -48,7 +47,6 @@ int main(int argc, char *argv[]) } if (minor) { - version_directive = YAML_MALLOC_STATIC(yaml_version_directive_t); version_directive->major = 1; version_directive->minor = minor; } |