From 3fcf5bf518e7eb8b78cb88aa4e5a530237bf3c67 Mon Sep 17 00:00:00 2001 From: ljcarlin Date: Sat, 9 Dec 2023 16:04:16 +0100 Subject: [PATCH] Feature GMT sphere: fixed another compile warning --- example/gmt/sphere_preprocessing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/gmt/sphere_preprocessing.c b/example/gmt/sphere_preprocessing.c index 7fc8a41af..5e5cc8421 100644 --- a/example/gmt/sphere_preprocessing.c +++ b/example/gmt/sphere_preprocessing.c @@ -453,8 +453,8 @@ main (int argc, char **argv) { int progerr; const char *usage; - FILE *output; - FILE *input; + FILE *output = NULL; + FILE *input = NULL; p4est_gmt_sphere_geoseg_t *geodesics; size_t n_geodesics; size_t nwritten;