Commit b6b8c34e authored by Sebastien Granjoux's avatar Sebastien Granjoux

libanjuta: Replace a crash by a critical warning

parent 442afd13
......@@ -422,11 +422,12 @@ anjuta_launcher_send_stdin_eof (AnjutaLauncher *launcher)
void
anjuta_launcher_send_ptyin (AnjutaLauncher *launcher, const gchar * input_str)
{
gsize bytes_written;
gsize bytes_written = 0;
GError *err = NULL;
g_return_if_fail (launcher);
g_return_if_fail (input_str);
g_return_if_fail (launcher->priv->pty_channel != NULL);
if (strlen (input_str) == 0)
return;
......
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