[gimp/gimp-2-10] app: fix uninitialized variable warning in gimptexttool.c



commit e2b54845bdc86eb7492bf908e917718dc427a200
Author: Ell <ell_se yahoo com>
Date:   Thu Sep 6 10:59:44 2018 -0400

    app: fix uninitialized variable warning in gimptexttool.c
    
    (cherry picked from commit a1caa17531553730fb3e0ab27ba7bda4e06a6648)

 app/tools/gimptexttool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/tools/gimptexttool.c b/app/tools/gimptexttool.c
index 864040c4ee..4576680dcc 100644
--- a/app/tools/gimptexttool.c
+++ b/app/tools/gimptexttool.c
@@ -2285,7 +2285,7 @@ gimp_text_tool_create_vectors_warped (GimpTextTool *text_tool)
   gdouble            box_width;
   gdouble            box_height;
   GimpTextDirection  dir;
-  gdouble            offset;
+  gdouble            offset = 0.0;
 
   g_return_if_fail (GIMP_IS_TEXT_TOOL (text_tool));
 


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