diff options
Diffstat (limited to 'client/gdaemonfileinputstream.c')
-rw-r--r-- | client/gdaemonfileinputstream.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/client/gdaemonfileinputstream.c b/client/gdaemonfileinputstream.c index c6341a4f..8cdc3622 100644 --- a/client/gdaemonfileinputstream.c +++ b/client/gdaemonfileinputstream.c @@ -446,14 +446,8 @@ run_sync_state_machine (GDaemonFileInputStream *file, } else { - /* We got reports of this crashing with io_error NULL. That shouldn't - happen, so try to spew some debug info and avoid crashing. */ - if (io_error == NULL) - g_warning ("run_sync_state_machine got error but no GError set. This should not happen. io_op was: %d\n", - io_op); g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Error in stream protocol: %s"), - io_error ? io_error->message : "Unknown error"); + _("Error in stream protocol: %s"), io_error->message); g_error_free (io_error); return FALSE; } |