ref: 25a8518fbf9e664394ad859e4b99377bb0cbce4b
parent: 49174f4486b9ac85d949a5d11a3a361a37558e57
author: Rangi <[email protected]>
date: Tue Apr 13 06:12:40 EDT 2021
Remove unused function `removeLeadingZeros`
--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -680,17 +680,6 @@
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)
{
struct Symbol *sym = createsymbol(name);