Mesa (master): gbm: don't return void

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 26 19:05:05 UTC 2019


Module: Mesa
Branch: master
Commit: 976004d0e70757a0b57707e419677acb71c054c5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=976004d0e70757a0b57707e419677acb71c054c5

Author: coypu <coypu at sdf.org>
Date:   Sun Apr  7 23:31:37 2019 +0300

gbm: don't return void

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>

---

 src/gbm/backends/dri/gbm_dri.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
index 37f7d1a97c0..99396f658f2 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -174,7 +174,7 @@ swrast_put_image(__DRIdrawable *driDrawable,
                  char          *data,
                  void          *loaderPrivate)
 {
-   return swrast_put_image2(driDrawable, op, x, y, width, height,
+   swrast_put_image2(driDrawable, op, x, y, width, height,
                             width * 4, data, loaderPrivate);
 }
 




More information about the mesa-commit mailing list