[gtk/wip/matthiasc/lottie-stroke: 1/9] XXX: Fix a compiler warning




commit c9def16f50fcee501360c54ae45e60bee5a9b22d
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 3 23:22:25 2020 -0500

    XXX: Fix a compiler warning
    
    Initializing length was lost in 666dbec38342b57594d37138.

 gtk/gtkrenderborder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkrenderborder.c b/gtk/gtkrenderborder.c
index af04f1a8bf..3a273ffcfb 100644
--- a/gtk/gtkrenderborder.c
+++ b/gtk/gtkrenderborder.c
@@ -436,7 +436,7 @@ snapshot_frame_stroke (GtkSnapshot          *snapshot,
       border_width[0] == border_width[3] &&
       hidden_side == 0)
     {
-      double length;
+      double length = 0;
 
       /* FAST PATH:
        * Mostly expected to trigger for focus rectangles */


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