]> Git Repo - qemu.git/blobdiff - ui/qemu-pixman.c
qmp-commands: move 'chardev-add' doc to schema
[qemu.git] / ui / qemu-pixman.c
index c9f8dce7f40801d6f961169b85a400ebb5846176..6e8b83add604306281e2db60f35a1f8efd6c1bc9 100644 (file)
@@ -180,14 +180,11 @@ void qemu_pixman_linebuf_copy(pixman_image_t *fb, int width, int x, int y,
 pixman_image_t *qemu_pixman_mirror_create(pixman_format_code_t format,
                                           pixman_image_t *image)
 {
-    pixman_image_t *mirror;
-
-    mirror = pixman_image_create_bits(format,
-                                      pixman_image_get_width(image),
-                                      pixman_image_get_height(image),
-                                      NULL,
-                                      pixman_image_get_stride(image));
-    return mirror;
+    return pixman_image_create_bits(format,
+                                    pixman_image_get_width(image),
+                                    pixman_image_get_height(image),
+                                    NULL,
+                                    pixman_image_get_stride(image));
 }
 
 void qemu_pixman_image_unref(pixman_image_t *image)
This page took 0.023388 seconds and 4 git commands to generate.