[Spice-devel] [spice-gtk 0/3] fix various warnings reported by clang static analyzer

Marc-André Lureau marcandre.lureau at gmail.com
Wed Mar 23 06:56:55 PDT 2011


Thanks Christophe, applied.

On Tue, Mar 22, 2011 at 3:47 PM, Christophe Fergeau <cfergeau at gmail.com> wrote:
> I ran clang static analyzer on gtk-spice using
> scan-build ./autogen.sh && scan-build make -e
> and it reported some errors (unused variables and potential NULL dereferences).
> This patch series fixes these warnings.
>
>
> Christophe Fergeau (3):
>  gtk: remove unused variables
>  gtk: don't attempt to dereference NULL pointer
>  gtk/display: be more paranoid about potentially NULL pointer
>
>  gtk/channel-base.c            |    6 ++++--
>  gtk/channel-record.c          |   10 ----------
>  gtk/display/gnome-rr-config.c |    2 +-
>  gtk/spice-channel.c           |    3 +--
>  4 files changed, 6 insertions(+), 15 deletions(-)
>
> --
> 1.7.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>



-- 
Marc-André Lureau


More information about the Spice-devel mailing list