gst/gstregistrybinary.c: Oh my, studip, stupid me. Remove double stat() call.

Original commit message from CVS:
* gst/gstregistrybinary.c:
Oh my, studip, stupid me. Remove double stat() call.
This commit is contained in:
Stefan Kost 2008-10-31 15:54:44 +00:00
parent 5b29f0a1cc
commit 0d430a59ef
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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:

View 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)