mirror of
https://github.com/simon987/sist2.git
synced 2025-12-12 15:08:53 +00:00
Adjust some structs
This commit is contained in:
@@ -61,7 +61,6 @@ void parse(void *arg) {
|
||||
parse_job_t *job = arg;
|
||||
|
||||
document_t *doc = malloc(sizeof(document_t));
|
||||
doc->filepath = malloc(strlen(job->filepath) + 1);
|
||||
|
||||
set_dbg_current_file(job);
|
||||
|
||||
@@ -230,10 +229,6 @@ void parse(void *arg) {
|
||||
meta_parent->key = MetaParent;
|
||||
strcpy(meta_parent->str_val, job->parent);
|
||||
APPEND_META((doc), meta_parent)
|
||||
|
||||
doc->has_parent = TRUE;
|
||||
} else {
|
||||
doc->has_parent = FALSE;
|
||||
}
|
||||
|
||||
CLOSE_FILE(job->vfile)
|
||||
|
||||
Reference in New Issue
Block a user