From: Ben Pfaff Date: Sat, 27 May 2023 04:51:59 +0000 (-0700) Subject: ods-reader: Don't return NULL from a boolean function. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02e920b28760100e2f3f9edfc5a46cd8c94c769b;p=pspp ods-reader: Don't return NULL from a boolean function. --- diff --git a/src/data/ods-reader.c b/src/data/ods-reader.c index f05d682729..2839117363 100644 --- a/src/data/ods-reader.c +++ b/src/data/ods-reader.c @@ -1123,7 +1123,7 @@ init_reader (struct ods_reader *r, bool report_errors, if (content == NULL) { free (error); - return NULL; + return false; } xmlTextReaderPtr xtr = xmlReaderForIO (xml_reader_for_zip_member, NULL, content, NULL, NULL,