Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-05-28 20:47:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-13 18:47:11 +0400
commit8bd4b7361bb47d5ecaf005ef04ec58cdf73a3a48 (patch)
treebbcd7a771e4aac6932efddcb1c8b2c64a3db29b4 /source/blender/blenfont/intern
parent0e085c637eefb8007a355b5b318d9c65b9c76fda (diff)
BLF: use NONNULL & WARN_UNUSED_RESULT attrs & remove unneeded NULL check
Diffstat (limited to 'source/blender/blenfont/intern')
-rw-r--r--source/blender/blenfont/intern/blf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c
index e086ca4977e..235d8ecbf46 100644
--- a/source/blender/blenfont/intern/blf.c
+++ b/source/blender/blenfont/intern/blf.c
@@ -460,9 +460,6 @@ void BLF_blur(int fontid, int size)
void BLF_draw_default(float x, float y, float z, const char *str, size_t len)
{
- if (!str)
- return;
-
if (!blf_global_font_init())
return;
@@ -474,9 +471,6 @@ void BLF_draw_default(float x, float y, float z, const char *str, size_t len)
/* same as above but call 'BLF_draw_ascii' */
void BLF_draw_default_ascii(float x, float y, float z, const char *str, size_t len)
{
- if (!str)
- return;
-
if (!blf_global_font_init())
return;