[Spice-devel] [PATCH 6/7] spice-ppc: GCC, please, shut up!

Erlon Cruz erlon.cruz at br.flextronics.com
Tue Aug 7 11:39:17 PDT 2012


From: Fabiano Fidêncio <fabiano at fidencio.org>

    Fixing warnings, please, amend this commit to:
    29b543ae6fd4493b930973622e71c6ecafb6f703

Signed-off-by: Erlon R. Cruz <erlon.cruz at br.flextronics.com>
Signed-off-by: Fabiano Fidêncio <Fabiano.Fidêncio at fit-tecnologia.org.br>
Signed-off-by: Rafael F. Santos <Rafael.Santos at fit-tecnologia.org.br>

---
 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



More information about the Spice-devel mailing list