[Spice-commits] 4 commits - .gitlab-ci.yml server/mjpeg-encoder.c server/red-channel.c server/red-client.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Wed Nov 9 16:20:50 UTC 2016


 .gitlab-ci.yml         |    2 +-
 server/mjpeg-encoder.c |    2 +-
 server/red-channel.c   |    1 -
 server/red-client.c    |    2 +-
 4 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit 4c23b55e7e57d148901bd61ea606a962fdf1ad4c
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Nov 9 15:58:04 2016 +0000

    syntax-check: Silent a wrong positive
    
    Due to syntax-check limitation this free calls results in
    a syntax error.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/server/mjpeg-encoder.c b/server/mjpeg-encoder.c
index d95c645..21778b8 100644
--- a/server/mjpeg-encoder.c
+++ b/server/mjpeg-encoder.c
@@ -969,7 +969,7 @@ static int mjpeg_encoder_encode_frame(VideoEncoder *video_encoder,
     }
 
     if (ret != VIDEO_ENCODER_FRAME_ENCODE_DONE) {
-        buffer->base.free((VideoBuffer*)buffer);
+        buffer->base.free(&buffer->base);
     }
     return ret;
 }
commit 6b56c730a87d137230277e138a0b28ee221bb117
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Nov 9 15:56:56 2016 +0000

    syntax-check: Include config.h file #include <>
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/server/red-client.c b/server/red-client.c
index f7f4562..de40acf 100644
--- a/server/red-client.c
+++ b/server/red-client.c
@@ -16,7 +16,7 @@
 
 */
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif /* HAVE_CONFIG_H */
 
 #include "red-channel.h"
commit fa1e077de9f24a677a4d0a7560d3f07881e49dcb
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Nov 9 15:56:19 2016 +0000

    syntax-check: Remove empty line at end of file
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/server/red-channel.c b/server/red-channel.c
index 9279882..0936548 100644
--- a/server/red-channel.c
+++ b/server/red-channel.c
@@ -841,4 +841,3 @@ void red_channel_disconnect_client(RedChannel *channel, RedChannelClient *rcc)
 {
     channel->priv->client_cbs.disconnect(rcc);
 }
-
commit 1db88a72160bf1e3ff742efc24dbb2575c222c61
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Nov 9 15:55:59 2016 +0000

    syntax-check: Remove space at end of line
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9b2ae2d..ca57ff5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
 image: fedora:latest
 
 before_script:
-  - dnf install 'dnf-command(copr)' git libtool make -y 
+  - dnf install 'dnf-command(copr)' git libtool make -y
   - dnf copr enable @spice/nightly -y
   - dnf builddep spice -y
 


More information about the Spice-commits mailing list