srcpos: Remove srcpos_empty

Nothing was actually using it.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
David Gibson
2018-11-14 16:12:43 +11:00
parent a3143fafbf
commit 5062516fb8
2 changed files with 0 additions and 19 deletions

View File

@@ -197,18 +197,6 @@ void srcfile_add_search_path(const char *dirname)
search_path_tail = &node->next;
}
/*
* The empty source position.
*/
struct srcpos srcpos_empty = {
.first_line = 0,
.first_column = 0,
.last_line = 0,
.last_column = 0,
.file = NULL,
};
void srcpos_update(struct srcpos *pos, const char *text, int len)
{
int i;