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>2011-04-29 10:59:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-29 10:59:18 +0400
commit3be303aa3e08c082a9963802137ebb4fd7922953 (patch)
treeef92012749acb4c2fdba2c161f828970898acdd3 /source/blender/editors/interface/interface_draw.c
parent2cdb79239bdec497781baf7fe8309cf4b1a36308 (diff)
corrections for redundant null checks & transform printing a string into its self.
Diffstat (limited to 'source/blender/editors/interface/interface_draw.c')
-rw-r--r--source/blender/editors/interface/interface_draw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c
index f8ce278814f..c9b5b9f2848 100644
--- a/source/blender/editors/interface/interface_draw.c
+++ b/source/blender/editors/interface/interface_draw.c
@@ -765,8 +765,6 @@ void ui_draw_but_HISTOGRAM(ARegion *ar, uiBut *but, uiWidgetColors *UNUSED(wcol)
//float alpha;
GLint scissor[4];
- if (hist==NULL) { printf("hist is null \n"); return; }
-
rect.xmin = (float)recti->xmin+1;
rect.xmax = (float)recti->xmax-1;
rect.ymin = (float)recti->ymin+SCOPE_RESIZE_PAD+2;