diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2016-12-15 00:11:32 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2016-12-15 00:11:32 +0100 |
commit | 187eea4359e88589beb7ecebae61599982090e1e (patch) | |
tree | 3b3bc250bdd98c0bab9d872c183ac63038b916f2 /libmediaart | |
parent | 52eb6498c97ce0005186946bc9162d87597abc2c (diff) | |
download | libmediaart-187eea4359e88589beb7ecebae61599982090e1e.tar.gz |
extract: Initialize variable
There are paths where the stop variable is not set, so might
end up with an uninitialized value when checked.
Diffstat (limited to 'libmediaart')
-rw-r--r-- | libmediaart/extract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmediaart/extract.c b/libmediaart/extract.c index 1169d2c..a388cd0 100644 --- a/libmediaart/extract.c +++ b/libmediaart/extract.c @@ -328,7 +328,7 @@ file_get_checksum_if_exists (GChecksumType checksum_type, GError *local_error = NULL; gssize rsize; guchar buffer[1024]; - gboolean stop; + gboolean stop = FALSE; file = g_file_new_for_path (path); stream = g_file_read (file, NULL, &local_error); |