panel-embed: avoid a compilation warning

This commit is contained in:
Pierre Pronchery 2024-12-05 17:32:59 +01:00
parent 9b08cd5fbb
commit 97365e4e3e

View File

@ -96,6 +96,8 @@ static gboolean _embed_on_can_read(GIOChannel * channel, GIOCondition condition,
char * p;
(void) data;
if(condition != G_IO_IN)
return FALSE; /* should not happen */
status = g_io_channel_read_line(channel, &str, &length, NULL, &error);
switch(status)
{