From: Matthias Clasen Date: Mon, 7 Sep 2009 07:28:35 +0000 (-0400) Subject: Another dead assignment X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=034d516160ffacbb805ad28cfdb848134f26c1dc;p=dana%2Fcg-glib.git Another dead assignment --- diff --git a/gio/gmemoryoutputstream.c b/gio/gmemoryoutputstream.c index 6da57612..242130a2 100644 --- a/gio/gmemoryoutputstream.c +++ b/gio/gmemoryoutputstream.c @@ -590,11 +590,7 @@ g_memory_output_stream_truncate (GSeekable *seekable, GCancellable *cancellable, GError **error) { - GMemoryOutputStream *ostream; - GMemoryOutputStreamPrivate *priv; - - ostream = G_MEMORY_OUTPUT_STREAM (seekable); - priv = ostream->priv; + GMemoryOutputStream *ostream = G_MEMORY_OUTPUT_STREAM (seekable); if (!array_resize (ostream, offset, FALSE, error)) return FALSE;