From 0626bb1c6fc1ee2ca88fb6278592bf0cffcfbfc8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 21 Apr 2004 04:13:20 +0000 Subject: [PATCH] bleargh - uninitialized variables Original commit message from CVS: bleargh - uninitialized variables --- gst/gstvalue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 25b273fb9a..7cfb07cfd7 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -1276,7 +1276,9 @@ gst_value_create_new_range (GValue * dest, int min1, int max1, int min2, pv2 = &v2; } else if (min1 <= max1) { pv1 = dest; + pv2 = NULL; } else if (min2 <= max2) { + pv1 = NULL; pv2 = dest; } else { return FALSE;