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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to