diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-15 00:31:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-15 00:31:11 +0400 |
commit | 64875e9fda7bf0c78a535e9ea354c37d8f113019 (patch) | |
tree | 6870beed7bba78f1e509b16c7e0b222b707c8293 /source/blender/windowmanager | |
parent | 1bb789956d42dc3e4a222a28b95a956ff8c97742 (diff) |
- change blend thumbnail loading function not to use goto's
- fix for some warnings
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 78e1c7d87a3..09c11bcfda5 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -2611,7 +2611,7 @@ static void wm_radial_control_paint(bContext *C, int x, int y, void *customdata) ViewContext vc; - int hit = 0; + // int hit = 0; int flip; int sign; @@ -2779,7 +2779,7 @@ int WM_radial_control_modal(bContext *C, wmOperator *op, wmEvent *event) int WM_radial_control_invoke(bContext *C, wmOperator *op, wmEvent *event) { wmRadialControl *rc = MEM_callocN(sizeof(wmRadialControl), "radial control"); - wmWindow *win = CTX_wm_window(C); + // wmWindow *win = CTX_wm_window(C); int mode = RNA_int_get(op->ptr, "mode"); float initial_value = RNA_float_get(op->ptr, "initial_value"); //float initial_size = RNA_float_get(op->ptr, "initial_size"); |