[libsoup/hsts] Clean up some build-time warnings in the hsts tests



commit c68ca3d6b01c621d08e7a8f220d77982dd51d4d5
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed Sep 26 15:39:36 2018 +0300

    Clean up some build-time warnings in the hsts tests

 tests/hsts-db-test.c | 2 +-
 tests/hsts-test.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/hsts-db-test.c b/tests/hsts-db-test.c
index a3fa8f0a..9ae37e65 100644
--- a/tests/hsts-db-test.c
+++ b/tests/hsts-db-test.c
@@ -144,7 +144,7 @@ main (int argc, char **argv)
 {
        int ret;
        SoupServer *server;
-       SoupServer *https_server;
+       SoupServer *https_server = NULL;
 
        test_init (argc, argv, NULL);
 
diff --git a/tests/hsts-test.c b/tests/hsts-test.c
index 85a80c9d..075037b7 100644
--- a/tests/hsts-test.c
+++ b/tests/hsts-test.c
@@ -437,7 +437,7 @@ main (int argc, char **argv)
 {
        int ret;
        SoupServer *server;
-       SoupServer *https_server;
+       SoupServer *https_server = NULL;
 
        test_init (argc, argv, NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]