summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-03 12:13:38 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-03 12:57:24 +0200
commit9557542722c0f5eb7619bb468f3f82f8176b0f42 (patch)
treeebe9cc5942137c02d64fa7af3d56ae91e3623d6e
parent6577af363501389ca6ca3bcd224a7717d5308bf2 (diff)
gstregistrybinary: remove variable only used for a check.
that variable isn't used anywhere else within that block.
-rw-r--r--gst/gstregistrybinary.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/gstregistrybinary.c b/gst/gstregistrybinary.c
index e074a6085d..5bbb824c49 100644
--- a/gst/gstregistrybinary.c
+++ b/gst/gstregistrybinary.c
@@ -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;