[gtk/wip/chergert/glproto: 166/526] error harder




commit 6c87d3965a105b9cc2a9fbc4ba4c427117e09dc7
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jan 1 18:38:57 2021 -0800

    error harder

 gsk/next/gskglrenderjob.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/next/gskglrenderjob.c b/gsk/next/gskglrenderjob.c
index 5581dbee0e..9edb439066 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -274,8 +274,8 @@ gsk_gl_render_job_get_modelview (GskGLRenderJob *job)
     return &g_array_index (job->modelview,
                            GskGLRenderModelview,
                            job->modelview->len - 1);
-  else
-    return NULL;
+  g_assert_not_reached ();
+  return NULL;
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]