projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0074bb
)
ods-reader: Don't return NULL from a boolean function.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 27 May 2023 04:51:59 +0000
(21:51 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 27 May 2023 04:51:59 +0000
(21:51 -0700)
src/data/ods-reader.c
patch
|
blob
|
history
diff --git
a/src/data/ods-reader.c
b/src/data/ods-reader.c
index f05d68272969e659e4cd77c8a16b2dbc2a2114ca..2839117363b5322db6dd539f0896be93e838f933 100644
(file)
--- 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,