[Bf-blender-cvs] [e18a944] soc-2013-viewport_fx: warning fix: removed unused function f_to_char

Campbell Barton ideasman42 at gmail.com
Thu May 29 06:50:29 CEST 2014


Prefer general cleanup commits not happen in GSOC branches, this just
adds noise when reviewing, and this change for example looks like it
conflicts with master (which uses f_to_char).


On Thu, May 29, 2014 at 1:21 PM, Jason Wilkins <noreply at git.blender.org> wrote:
> Commit: e18a9440cc41f5063400403d965ee06d80423acc
> Author: Jason Wilkins
> Date:   Mon May 19 22:52:05 2014 -0500
> https://developer.blender.org/rBe18a9440cc41f5063400403d965ee06d80423acc
>
> warning fix: removed unused function f_to_char
>
> ===================================================================
>
> M       source/blender/editors/sculpt_paint/paint_image_proj.c
>
> ===================================================================
>
> diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
> index e348458..f00153f 100644
> --- a/source/blender/editors/sculpt_paint/paint_image_proj.c
> +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
> @@ -104,13 +104,6 @@
>
>  #include "paint_intern.h"
>
> -/* Defines and Structs */
> -/* FTOCHAR as inline function */
> -BLI_INLINE unsigned char f_to_char(const float val)
> -{
> -       return FTOCHAR(val);
> -}
> -
>  /* ProjectionPaint defines */
>
>  /* approx the number of buckets to have under the brush,
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs



-- 
- Campbell



More information about the Bf-blender-cvs mailing list