mirror of
https://github.com/Ed94/metadesk.git
synced 2026-07-31 20:00:07 +00:00
remove the unused root first/last from parse ctx
This commit is contained in:
@@ -507,8 +507,6 @@ enum
|
||||
typedef struct MD_ParseCtx MD_ParseCtx;
|
||||
struct MD_ParseCtx
|
||||
{
|
||||
MD_Node *first_root;
|
||||
MD_Node *last_root;
|
||||
MD_Error *first_error;
|
||||
MD_Error *last_error;
|
||||
MD_u8 *at;
|
||||
|
||||
@@ -1139,7 +1139,6 @@ MD_FUNCTION_IMPL MD_ParseCtx
|
||||
MD_Parse_InitializeCtx(MD_String8 filename, MD_String8 contents)
|
||||
{
|
||||
MD_ParseCtx ctx = MD_ZERO_STRUCT;
|
||||
ctx.first_root = ctx.last_root = MD_NilNode();
|
||||
ctx.at = contents.str;
|
||||
ctx.file_contents = contents;
|
||||
ctx.filename = filename;
|
||||
|
||||
Reference in New Issue
Block a user