mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gio: remove precondition checks from g_output_stream_printf()
because we call g_output_stream_vprintf() which does exactly the same checks.
This commit is contained in:
parent
c9cfa7d1d5
commit
32cfcc8740
@ -329,11 +329,6 @@ g_output_stream_printf (GOutputStream *stream,
|
||||
va_list args;
|
||||
gboolean success;
|
||||
|
||||
g_return_val_if_fail (G_IS_OUTPUT_STREAM (stream), FALSE);
|
||||
g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (stream), FALSE);
|
||||
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
|
||||
g_return_val_if_fail (format != NULL, FALSE);
|
||||
|
||||
va_start (args, format);
|
||||
success = g_output_stream_vprintf (stream, bytes_written, cancellable,
|
||||
error, format, args);
|
||||
|
Loading…
Reference in New Issue
Block a user