summaryrefslogtreecommitdiffstats
path: root/test/urls
diff options
context:
space:
mode:
Diffstat (limited to 'test/urls')
-rw-r--r--test/urls/parse-url.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/urls/parse-url.c b/test/urls/parse-url.c
index cfa6762..1688eab 100644
--- a/test/urls/parse-url.c
+++ b/test/urls/parse-url.c
@@ -8,17 +8,12 @@
int main(int argc, char **argv)
{
struct pb_url *url;
- FILE *null;
if (argc != 2 && argc != 3) {
fprintf(stderr, "Usage: %s <URL> [update]\n", argv[0]);
return EXIT_FAILURE;
}
- /* discard log output */
- null = fopen("/dev/null", "w");
- pb_log_set_stream(null);
-
url = pb_url_parse(NULL, argv[1]);
if (!url)
return EXIT_FAILURE;
OpenPOWER on IntegriCloud