summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/lv2apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lv2apply.c b/utils/lv2apply.c
index 0ef86df..2f17a67 100644
--- a/utils/lv2apply.c
+++ b/utils/lv2apply.c
@@ -91,7 +91,7 @@ sopen(LV2Apply* self, const char* path, int mode, SF_INFO* fmt)
static void
sclose(const char* path, SNDFILE* file)
{
- int st;
+ int st = 0;
if (file && (st = sf_close(file))) {
fatal(NULL, 1, "Failed to close %s (%s)\n", path, sf_error_number(st));
}