Remove unused function removeLeadingZeros

This commit is contained in:
Rangi
2021-04-13 10:12:40 -04:00
parent 49174f4486
commit 25a8518fbf

View File

@@ -680,17 +680,6 @@ void sym_SetExportAll(bool set)
exportall = set; exportall = set;
} }
/**
* Returns a pointer to the first non-zero character in a string
* Non-'0', not non-'\0'.
*/
static inline char const *removeLeadingZeros(char const *ptr)
{
while (*ptr == '0')
ptr++;
return ptr;
}
static inline struct Symbol *createBuiltinSymbol(char const *name) static inline struct Symbol *createBuiltinSymbol(char const *name)
{ {
struct Symbol *sym = createsymbol(name); struct Symbol *sym = createsymbol(name);