[easytag/easytag-2-2] Remove a useless debugging message
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/easytag-2-2] Remove a useless debugging message
- Date: Mon, 21 Apr 2014 16:16:18 +0000 (UTC)
commit 3d5c161960d19f9c9668e43d31b0fe131ead4a9c
Author: David King <amigadave amigadave com>
Date: Mon Apr 21 17:14:05 2014 +0100
Remove a useless debugging message
src/picture.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/picture.c b/src/picture.c
index 5541869..82e6aee 100644
--- a/src/picture.c
+++ b/src/picture.c
@@ -1330,7 +1330,6 @@ static Picture *
et_picture_load_file_data (GFile *file, GError **error)
{
gsize size;
- gssize n_spliced;
GFileInfo *info;
GFileInputStream *file_istream;
GOutputStream *ostream;
@@ -1368,14 +1367,10 @@ et_picture_load_file_data (GFile *file, GError **error)
ostream = g_memory_output_stream_new (buffer, size, g_realloc, g_free);
}
- if ((n_spliced = g_output_stream_splice (ostream,
- G_INPUT_STREAM (file_istream),
- G_OUTPUT_STREAM_SPLICE_NONE, NULL,
- error)) == -1)
+ if (g_output_stream_splice (ostream, G_INPUT_STREAM (file_istream),
+ G_OUTPUT_STREAM_SPLICE_NONE, NULL,
+ error) == -1)
{
- g_debug ("Only %" G_GSSIZE_FORMAT " bytes out of %" G_GSIZE_FORMAT
- " bytes of picture data were spliced", n_spliced, size);
-
g_object_unref (ostream);
g_object_unref (file_istream);
g_assert (error == NULL || *error != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]