diff options
author | Kent Mein <mein@cs.umn.edu> | 2005-08-11 20:39:51 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2005-08-11 20:39:51 +0400 |
commit | 841ddb46803ab381cd238f8ad71465ccb660d9e0 (patch) | |
tree | 29359264c8e0a94bf1d99d5b78b4c4ba2a85a0cf /source/blender/src/interface_draw.c | |
parent | 2cb9c4db0c3d560933dee0c481fcf09064d6e5ec (diff) |
A couple of small fixes...
I removed config.h code from the files that had them.
effect.c had nested /* so cleaned that up...
added a newline to vector.c to shut gcc up ;)
buttons_editing.c had a possible unintalized var (height) so I gave
it a default value.
removed an unused var i in interface_draw.c
removed an unused var mti in outliner.c
in BL_SkinDeformer.cpp
commented out a call to bDeformGroup->data which no longer exists so it
compiles again.
Kent
Diffstat (limited to 'source/blender/src/interface_draw.c')
-rw-r--r-- | source/blender/src/interface_draw.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/src/interface_draw.c b/source/blender/src/interface_draw.c index 741cd1c9b64..d770409837d 100644 --- a/source/blender/src/interface_draw.c +++ b/source/blender/src/interface_draw.c @@ -41,10 +41,6 @@ #include <string.h> #include <ctype.h> -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #ifndef WIN32 #include <unistd.h> #else @@ -154,10 +150,6 @@ static void ui_draw_icon(uiBut *but, BIFIconID icon) int blend= 0; float xs=0, ys=0; - if (icon==VICON_X) { - int i = 0; - } - // this icon doesn't need draw... if(icon==ICON_BLANK1) return; |