mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-07 03:02:17 +00:00
gstregistrybinary: remove variable only used for a check.
that variable isn't used anywhere else within that block.
This commit is contained in:
parent
6577af3635
commit
9557542722
1 changed files with 1 additions and 2 deletions
|
@ -731,10 +731,9 @@ gst_registry_binary_write_cache (GstRegistry * registry, const char *location)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (plugin->flags & GST_PLUGIN_FLAG_CACHED) {
|
if (plugin->flags & GST_PLUGIN_FLAG_CACHED) {
|
||||||
int ret;
|
|
||||||
struct stat statbuf;
|
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_mtime != statbuf.st_mtime ||
|
||||||
plugin->file_size != statbuf.st_size)
|
plugin->file_size != statbuf.st_size)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue