diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-04-26 13:47:15 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-04-26 14:01:37 +0200 |
commit | e52974c7b46a17f74c6ab54eaadb8c4461e0d46f (patch) | |
tree | 9de6e47edfaf9605ebd6e872e7673f9d651c04f7 /client | |
parent | 16328d20357a8bc4630656af350772b0bd14f8f1 (diff) | |
download | spice-e52974c7b46a17f74c6ab54eaadb8c4461e0d46f.tar.gz spice-e52974c7b46a17f74c6ab54eaadb8c4461e0d46f.tar.xz spice-e52974c7b46a17f74c6ab54eaadb8c4461e0d46f.zip |
fix two warnings
Diffstat (limited to 'client')
-rw-r--r-- | client/x11/platform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp index 33817e29..ea492edb 100644 --- a/client/x11/platform.cpp +++ b/client/x11/platform.cpp @@ -260,7 +260,7 @@ XImage *XPlatform::create_x_image(RedDrawable::Format format, Visual *visual, XShmSegmentInfo **shminfo_out) { - XImage *image; + XImage *image = NULL; uint8_t *data; size_t stride; |