Another dead assignment
authorMatthias Clasen <mclasen@redhat.com>
Mon, 7 Sep 2009 07:28:35 +0000 (03:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 7 Sep 2009 07:28:35 +0000 (03:28 -0400)
gio/gmemoryoutputstream.c

index 6da5761..242130a 100644 (file)
@@ -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;