From 431fba3939aa91b55d8dfd9b80646d93baecfe8f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 28 Nov 2002 21:30:13 +0000 Subject: [PATCH] Fix stupid bug Original commit message from CVS: Fix stupid bug --- gst/gstcache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/gstcache.c b/gst/gstcache.c index aa6ff21..e567539 100644 --- a/gst/gstcache.c +++ b/gst/gstcache.c @@ -357,6 +357,7 @@ gst_cache_add_association (GstCache *tc, gint id, GstAssocFlags flags, gulong size; gint nassocs = 0; GstFormat cur_format; + gint64 dummy; g_return_val_if_fail (GST_IS_CACHE (tc), NULL); g_return_val_if_fail (format != 0, NULL); @@ -369,7 +370,7 @@ gst_cache_add_association (GstCache *tc, gint id, GstAssocFlags flags, nassocs++; cur_format = va_arg (args, GstFormat); if (cur_format) - value = va_arg (args, gint64); + dummy = va_arg (args, gint64); } va_end (args); -- 2.7.4