[Bf-blender-cvs] [dcac86f4f11] master: Cleanup: remove unused flag argument
Campbell Barton
noreply at git.blender.org
Wed Oct 6 01:56:18 CEST 2021
Commit: dcac86f4f11fb4e464a8f2dc3f2ef69eff4f4f21
Author: Campbell Barton
Date: Wed Oct 6 10:54:30 2021 +1100
Branches: master
https://developer.blender.org/rBdcac86f4f11fb4e464a8f2dc3f2ef69eff4f4f21
Cleanup: remove unused flag argument
===================================================================
M source/blender/blenkernel/BKE_vfontdata.h
M source/blender/blenkernel/intern/vfontdata_freetype.c
===================================================================
diff --git a/source/blender/blenkernel/BKE_vfontdata.h b/source/blender/blenkernel/BKE_vfontdata.h
index b162958f69d..b6e57dad934 100644
--- a/source/blender/blenkernel/BKE_vfontdata.h
+++ b/source/blender/blenkernel/BKE_vfontdata.h
@@ -53,7 +53,7 @@ VFontData *BKE_vfontdata_from_freetypefont(struct PackedFile *pf);
VFontData *BKE_vfontdata_copy(const VFontData *vfont_src, const int flag);
VChar *BKE_vfontdata_char_from_freetypefont(struct VFont *vfont, unsigned long character);
-VChar *BKE_vfontdata_char_copy(const VChar *vchar_src, const int flag);
+VChar *BKE_vfontdata_char_copy(const VChar *vchar_src);
#ifdef __cplusplus
}
diff --git a/source/blender/blenkernel/intern/vfontdata_freetype.c b/source/blender/blenkernel/intern/vfontdata_freetype.c
index bba6768017d..db9fdef75c0 100644
--- a/source/blender/blenkernel/intern/vfontdata_freetype.c
+++ b/source/blender/blenkernel/intern/vfontdata_freetype.c
@@ -427,7 +427,7 @@ VFontData *BKE_vfontdata_from_freetypefont(PackedFile *pf)
static void *vfontdata_copy_characters_value_cb(const void *src)
{
- return BKE_vfontdata_char_copy(src, 0);
+ return BKE_vfontdata_char_copy(src);
}
VFontData *BKE_vfontdata_copy(const VFontData *vfont_src, const int UNUSED(flag))
@@ -466,7 +466,7 @@ VChar *BKE_vfontdata_char_from_freetypefont(VFont *vfont, unsigned long characte
return che;
}
-VChar *BKE_vfontdata_char_copy(const VChar *vchar_src, const int UNUSED(flag))
+VChar *BKE_vfontdata_char_copy(const VChar *vchar_src)
{
VChar *vchar_dst = MEM_dupallocN(vchar_src);
More information about the Bf-blender-cvs
mailing list