summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'psi/zfsample.c')
-rw-r--r--psi/zfsample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/psi/zfsample.c b/psi/zfsample.c
index aa92c010..29080940 100644
--- a/psi/zfsample.c
+++ b/psi/zfsample.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2019 Artifex Software, Inc.
+/* Copyright (C) 2001-2020 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -712,7 +712,7 @@ int make_sampled_function(i_ctx_t * i_ctx_p, ref *arr, ref *pproc, gs_function_t
fail:
gs_function_Sd_free_params(&params, imemory);
- return (code < 0 ? code : gs_note_error(gs_error_rangecheck));
+ return code;
}
/* ------ Initialization procedure ------ */