From: Fabiano Fidêncio <fabiano@xxxxxxxxxxxx> Fixing warnings, please, amend this commit to: 29b543ae6fd4493b930973622e71c6ecafb6f703 Signed-off-by: Erlon R. Cruz <erlon.cruz@xxxxxxxxxxxxxxxxxx> Signed-off-by: Fabiano Fidêncio <Fabiano.Fidêncio@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Rafael F. Santos <Rafael.Santos@xxxxxxxxxxxxxxxxxxxxx> --- server/reds.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/reds.c b/server/reds.c index 9df6e2d..55b177e 100644 --- a/server/reds.c +++ b/server/reds.c @@ -1242,7 +1242,7 @@ static int reds_send_link_ack(RedLinkInfo *link) RedChannelCapabilities *channel_caps; BUF_MEM *bmBuf; BIO *bio; - int ret = FALSE, *commom_caps = -1, *caps = -1; + int ret = FALSE, *commom_caps = NULL, *caps = NULL; header.magic = SPICE_MAGIC; header.size = sizeof(ack); -- 1.7.4.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel