From 2fcd0e79b21ec6dbf975ad7d1b5697a78993e2f1 Mon Sep 17 00:00:00 2001 From: David Valleau Date: Wed, 14 Aug 2019 15:47:38 -0700 Subject: [PATCH] Fixing invalid return in void function --- prnt/hpps/hppsfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prnt/hpps/hppsfilter.c b/prnt/hpps/hppsfilter.c index 02c1c35..f146752 100644 --- a/prnt/hpps/hppsfilter.c +++ b/prnt/hpps/hppsfilter.c @@ -104,7 +104,7 @@ static void open_tempbookletfile(char *mode) if(ptempbooklet_file == NULL) { fprintf(stderr, "ERROR: Unable to open temp file %s\n", temp_filename); - return 1; + return; } chmod(temp_filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); -- 2.23.0.rc1.153.gdeed80330f-goog