Skip to content

Commit e7b9914

Browse files
committed
util/uri: Remove unused macros ISA_RESERVED() and ISA_GEN_DELIM()
They are not used anywhere, so there's no need to keep them around. Reviewed-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com> Message-ID: <20240123182247.432642-5-thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
1 parent 8fd4667 commit e7b9914

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

util/uri.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -163,19 +163,6 @@ static void uri_clean(URI *uri);
163163
((*(p) == '+')) || ((*(p) == ',')) || ((*(p) == ';')) || \
164164
((*(p) == '=')) || ((*(p) == '\'')))
165165

166-
/*
167-
* gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"
168-
*/
169-
#define ISA_GEN_DELIM(p) \
170-
(((*(p) == ':')) || ((*(p) == '/')) || ((*(p) == '?')) || \
171-
((*(p) == '#')) || ((*(p) == '[')) || ((*(p) == ']')) || \
172-
((*(p) == '@')))
173-
174-
/*
175-
* reserved = gen-delims / sub-delims
176-
*/
177-
#define ISA_RESERVED(p) (ISA_GEN_DELIM(p) || (ISA_SUB_DELIM(p)))
178-
179166
/*
180167
* unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
181168
*/

0 commit comments

Comments
 (0)