[glib] Remmove a dead assignment.



commit f2c8572d8490544496934612854a86fecbaf99ba
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 7 03:07:22 2009 -0400

    Remmove a dead assignment.
    
    Spotted by clang.

 gio/gbufferedinputstream.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gio/gbufferedinputstream.c b/gio/gbufferedinputstream.c
index d49b528..50b5d8e 100644
--- a/gio/gbufferedinputstream.c
+++ b/gio/gbufferedinputstream.c
@@ -247,13 +247,11 @@ g_buffered_input_stream_set_property (GObject      *object,
                                       const GValue *value,
                                       GParamSpec   *pspec)
 {
-  GBufferedInputStreamPrivate *priv;
   GBufferedInputStream        *bstream;
 
   bstream = G_BUFFERED_INPUT_STREAM (object);
-  priv = bstream->priv;
 
-  switch (prop_id) 
+  switch (prop_id)
     {
     case PROP_BUFSIZE:
       g_buffered_input_stream_set_buffer_size (bstream, g_value_get_uint (value));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]