gstregistrybinary: remove variable only used for a check.

that variable isn't used anywhere else within that block.
This commit is contained in:
Edward Hervey 2009-04-03 12:13:38 +02:00
parent 6577af3635
commit 9557542722

View file

@ -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;