gst/gstregistrybinary.c: Oh my, studip, stupid me. Remove double stat() call.
authorStefan Kost <ensonic@users.sourceforge.net>
Fri, 31 Oct 2008 15:54:44 +0000 (15:54 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Fri, 31 Oct 2008 15:54:44 +0000 (15:54 +0000)
Original commit message from CVS:
* gst/gstregistrybinary.c:
Oh my, studip, stupid me. Remove double stat() call.

ChangeLog
gst/gstregistrybinary.c

index 8c665a1..fa7e2b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
 
+       * gst/gstregistrybinary.c:
+         Oh my, studip, stupid me. Remove double stat() call.
+
+2008-10-31  Stefan Kost  <ensonic@users.sf.net>
+
        * gst/gstpreset.c:
          Use g_unlink instead of unlink.
 
index 51b0e1b..b6e6bdf 100644 (file)
@@ -768,7 +768,6 @@ gst_registry_binary_write_cache (GstRegistry * registry, const char *location)
       int ret;
       struct stat statbuf;
 
-      ret = g_stat (plugin->filename, &statbuf);
       if ((ret = g_stat (plugin->filename, &statbuf)) < 0 ||
           plugin->file_mtime != statbuf.st_mtime ||
           plugin->file_size != statbuf.st_size)