diff options
author | David Robillard <d@drobilla.net> | 2020-12-16 17:00:22 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-16 17:00:22 +0100 |
commit | 206c176beaa21295bc2aca06da0d75a34924fef4 (patch) | |
tree | ca54b865edd96d1a0c90421b7b290dac8e645ec1 /utils | |
parent | a0a127b5c6395fc402861f95852b9624f9d2621f (diff) | |
download | lilv-206c176beaa21295bc2aca06da0d75a34924fef4.tar.gz lilv-206c176beaa21295bc2aca06da0d75a34924fef4.tar.bz2 lilv-206c176beaa21295bc2aca06da0d75a34924fef4.zip |
Isolate variable declarations and initialize all variables
Diffstat (limited to 'utils')
-rw-r--r-- | utils/lv2apply.c | 2 |
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)); } |