mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-23 04:25:42 +02:00
Merge branch 'clang13'
This commit is contained in:
commit
4cd031bc73
1 changed files with 3 additions and 1 deletions
4
yml.c
4
yml.c
|
@ -9,6 +9,8 @@
|
|||
#include <yaml.h>
|
||||
#include <tllist.h>
|
||||
|
||||
#define UNUSED __attribute__((unused))
|
||||
|
||||
enum yml_error {
|
||||
YML_ERR_NONE,
|
||||
YML_ERR_DUPLICATE_KEY,
|
||||
|
@ -380,7 +382,7 @@ yml_load(FILE *yml, char **error)
|
|||
yaml_parser_set_input_file(&yaml, yml);
|
||||
|
||||
bool done = false;
|
||||
int indent = 0;
|
||||
int indent UNUSED = 0;
|
||||
|
||||
struct yml_node *root = malloc(sizeof(*root));
|
||||
root->type = ROOT;
|
||||
|
|
Loading…
Add table
Reference in a new issue