[glib] Another dead assignment
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glib] Another dead assignment
- Date: Mon, 7 Sep 2009 07:30:23 +0000 (UTC)
commit 034d516160ffacbb805ad28cfdb848134f26c1dc
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Sep 7 03:28:35 2009 -0400
Another dead assignment
gio/gmemoryoutputstream.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/gio/gmemoryoutputstream.c b/gio/gmemoryoutputstream.c
index 6da5761..242130a 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]