lib/log: Cleanup log API
[petitboot] / test / urls / parse-url.c
index cfa67628a96b63ccc564c85adc81d1b9283240bd..1688eab9540a5f1331bbed76c47cdbab554b11bb 100644 (file)
@@ -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;