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 6da57612aeef4c3921f0c24e9bd4cc56d545a5d3..242130a2ff37b8c2113e1fb5a79989404ee2fb21 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;