summaryrefslogtreecommitdiff
path: root/tests/aplwc_errstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/aplwc_errstr.c')
-rw-r--r--tests/aplwc_errstr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/aplwc_errstr.c b/tests/aplwc_errstr.c
index 0a3b2ad..0efb777 100644
--- a/tests/aplwc_errstr.c
+++ b/tests/aplwc_errstr.c
@@ -26,9 +26,7 @@ main(void)
if(strcmp(err, "(unable to produce error string)") != 0)
return 1;
- ret = aplwc_destroy(aplwc);
- if(ret)
- return 1;
+ aplwc_destroy(aplwc);
ret = aplwc_new(&aplwc, data, 0);
if(ret == 0)