[gimp] app: fix uninitialized variable warning in gimptexttool.c



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

    app: fix uninitialized variable warning in gimptexttool.c

 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 40e5d966c6..cab776249f 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]