Commit: f5df1efa2f6344dd25790e09fbc309091bf11674
Author: Campbell Barton
Date:   Thu Nov 22 05:25:51 2018 +1100
Branches: blender2.8
https://developer.blender.org/rBf5df1efa2f6344dd25790e09fbc309091bf11674

Cleanup: warnings

===================================================================

M       release/scripts/startup/bl_ui/properties_grease_pencil_common.py
M       source/blender/blenlib/intern/string.c
M       source/blender/editors/transform/transform_snap_object.c

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py 
b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 732efe603fe..296e05a709d 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -140,7 +140,7 @@ class AnnotationDrawingToolsPanel:
             layout.separator()
 
             col = layout.column(align=True)
-            col.prop(gpd, "use_stroke_edit_mode", text="Enable Editing", 
icon='EDIT', toggle=True)
+            col.prop(gpd, "use_stroke_edit_mode", text="Enable Editing", 
toggle=True)  # was: icon='EDIT'
 
 
 class GreasePencilStrokeEditPanel:
diff --git a/source/blender/blenlib/intern/string.c 
b/source/blender/blenlib/intern/string.c
index 3deab9b2ae9..25375278901 100644
--- a/source/blender/blenlib/intern/string.c
+++ b/source/blender/blenlib/intern/string.c
@@ -976,7 +976,7 @@ size_t BLI_str_partition_ex(
        return end ? (size_t)(end - str) : strlen(str);
 }
 
-size_t BLI_str_format_int_grouped_ex(char src[16], char dst[16], int num_len)
+static size_t BLI_str_format_int_grouped_ex(char src[16], char dst[16], int 
num_len)
 {
        char *p_src = src;
        char *p_dst = dst;
@@ -1027,7 +1027,7 @@ size_t BLI_str_format_int_grouped(char dst[16], int num)
 size_t BLI_str_format_uint64_grouped(char dst[16], uint64_t num)
 {
        char src[16];
-       int num_len = sprintf(src, "%"PRIu64"",num);
+       int num_len = sprintf(src, "%"PRIu64"", num);
 
        return BLI_str_format_int_grouped_ex(src, dst, num_len);
 }
diff --git a/source/blender/editors/transform/transform_snap_object.c 
b/source/blender/editors/transform/transform_snap_object.c
index fd68f941d24..e28f00e6509 100644
--- a/source/blender/editors/transform/transform_snap_object.c
+++ b/source/blender/editors/transform/transform_snap_object.c
@@ -864,7 +864,7 @@ static bool raycastObjects(
  * \{ */
 
  /* Test BoundBox */
-bool snap_bound_box_check_dist(BoundBox *bb, float lpmat[4][4], float 
win_size[2], float mval[2], float dist_px_sq)
+static bool snap_bound_box_check_dist(BoundBox *bb, float lpmat[4][4], float 
win_size[2], float mval[2], float dist_px_sq)
 {
        /* In vertex and edges you need to get the pixel distance from ray to 
BoundBox, see: T46099, T46816 */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to