Commit 03a85ff2 authored by Benjamin Otte's avatar Benjamin Otte

gdk: Remove unnecessary assignments

The variable is never read again.
parent f569717a
......@@ -172,7 +172,6 @@ gdk_pipe_input_stream_read (GInputStream *stream,
amount = MIN (count, pipe->size);
memcpy (buffer, pipe->buffer, amount);
count -= amount;
pipe->size -= amount;
if (pipe->size == 0)
......@@ -308,7 +307,6 @@ gdk_pipe_output_stream_write (GOutputStream *stream,
amount = MIN (count, pipe->size);
memcpy (pipe->buffer, buffer, amount);
count -= amount;
pipe->size -= amount;
if (pipe->size == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment