Commit Diff
Diff:
6f212e04a10182db77f577c79ac23bac3fabe399
ab33b604325fbc2681cc43df16dd6bc97c4699fd
Commit:
ab33b604325fbc2681cc43df16dd6bc97c4699fd
Tree:
24c01024fc964f4c5e21f74785419b4d87b2ef69
Author:
Omar Polo <op@omarpolo.com>
Date:
Mon Nov 7 18:10:51 2022 UTC
Message:
make phos_uri compile with -Werror

temporary band-aid until i find the time to rewrite this stuff...
commit - 6f212e04a10182db77f577c79ac23bac3fabe399
commit + ab33b604325fbc2681cc43df16dd6bc97c4699fd
blob - 6a58f46e28801ee0f98e8a8ed67576dc3f112b39
blob + 1e57a2efc55153d08ba233d1b434f2f78772e3eb
--- phos/phos_uri.c
+++ phos/phos_uri.c
@@ -68,6 +68,7 @@ static inline int
/* common defs */
+#if unused
static inline int
gen_delims(int c)
{
@@ -79,6 +80,7 @@ gen_delims(int c)
|| c == ']'
|| c == '@';
}
+#endif
static inline int
sub_delims(int c)
@@ -96,11 +98,13 @@ static inline int
|| c == '=';
}
+#if unused
static inline int
reserved(int c)
{
return gen_delims(c) || sub_delims(c);
}
+#endif
static inline int
unreserved(int c)
Omar Polo