Skip to content
Snippets Groups Projects
Commit b2745d1b5571 authored by Tina Müller's avatar Tina Müller
Browse files

Remove unnecessary include and malloc

parent afd9c7f85948
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include "../src/yaml_private.h"
int get_line(FILE * input, char *line); int get_line(FILE * input, char *line);
char *get_anchor(char sigil, char *line, char *anchor); char *get_anchor(char sigil, char *line, char *anchor);
...@@ -48,7 +47,6 @@ ...@@ -48,7 +47,6 @@
} }
if (minor) { if (minor) {
version_directive = YAML_MALLOC_STATIC(yaml_version_directive_t);
version_directive->major = 1; version_directive->major = 1;
version_directive->minor = minor; version_directive->minor = minor;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment