This is in preparation for next commit. --- server/red-parse-qxl.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/server/red-parse-qxl.c b/server/red-parse-qxl.c index d7ae53804..d4a7decd3 100644 --- a/server/red-parse-qxl.c +++ b/server/red-parse-qxl.c @@ -1258,20 +1258,19 @@ static void red_put_drawable(RedDrawable *red) bool red_get_update_cmd(RedMemSlotInfo *slots, int group_id, RedUpdateCmd *red, QXLPHYSICAL addr) { - QXLUpdateCmd *qxl; + QXLUpdateCmd *qxl_cmd; int error; - qxl = (QXLUpdateCmd *)memslot_get_virt(slots, addr, sizeof(*qxl), group_id, &error); + qxl_cmd = (QXLUpdateCmd *)memslot_get_virt(slots, addr, sizeof(*qxl_cmd), group_id, &error); if (error) { return false; } - red->release_info_ext.info = &qxl->release_info; + red->release_info_ext.info = &qxl_cmd->release_info; red->release_info_ext.group_id = group_id; - - red_get_rect_ptr(&red->area, &qxl->area); - red->update_id = qxl->update_id; - red->surface_id = qxl->surface_id; + red_get_rect_ptr(&red->area, &qxl_cmd->area); + red->update_id = qxl_cmd->update_id; + red->surface_id = qxl_cmd->surface_id; return true; } -- 2.14.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel