server/red_worker: fix for case where ASSERT is compiled out

This commit is contained in:
Alon Levy 2012-03-20 18:59:21 +02:00
parent 9ee43c37ce
commit f13ca12774

View File

@ -8379,9 +8379,8 @@ static void red_display_marshall_stream_clip(RedChannelClient *rcc,
{
DisplayChannelClient *dcc = RCC_TO_DCC(rcc);
StreamAgent *agent = item->stream_agent;
Stream *stream = agent->stream;
ASSERT(stream);
ASSERT(agent->stream);
red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_STREAM_CLIP, &item->base);
SpiceMsgDisplayStreamClip stream_clip;