From 9557542722c0f5eb7619bb468f3f82f8176b0f42 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 3 Apr 2009 12:13:38 +0200 Subject: gstregistrybinary: remove variable only used for a check. that variable isn't used anywhere else within that block. --- gst/gstregistrybinary.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3