From 0d430a59ef11e0998cdea53b6b6e66432f1c7090 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 31 Oct 2008 15:54:44 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ gst/gstregistrybinary.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8c665a1..fa7e2b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-10-31 Stefan Kost + * gst/gstregistrybinary.c: + Oh my, studip, stupid me. Remove double stat() call. + +2008-10-31 Stefan Kost + * gst/gstpreset.c: Use g_unlink instead of unlink. diff --git a/gst/gstregistrybinary.c b/gst/gstregistrybinary.c index 51b0e1b..b6e6bdf 100644 --- a/gst/gstregistrybinary.c +++ b/gst/gstregistrybinary.c @@ -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) -- 2.7.4