diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-29 10:59:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-29 10:59:18 +0400 |
commit | 3be303aa3e08c082a9963802137ebb4fd7922953 (patch) | |
tree | ef92012749acb4c2fdba2c161f828970898acdd3 /source/blender/editors/interface | |
parent | 2cdb79239bdec497781baf7fe8309cf4b1a36308 (diff) |
corrections for redundant null checks & transform printing a string into its self.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_draw.c | 2 |
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; |