Commit 95575427 authored by Edward Hervey's avatar Edward Hervey 🤘
Browse files

gstregistrybinary: remove variable only used for a check.

that variable isn't used anywhere else within that block.
parent 6577af36
......@@ -731,10 +731,9 @@ gst_registry_binary_write_cache (GstRegistry * registry, const char *location)
continue;
if (plugin->flags & GST_PLUGIN_FLAG_CACHED) {
int ret;
struct stat statbuf;
if ((ret = g_stat (plugin->filename, &statbuf)) < 0 ||
if (g_stat (plugin->filename, &statbuf) < 0 ||
plugin->file_mtime != statbuf.st_mtime ||
plugin->file_size != statbuf.st_size)
continue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment