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:
authorJoshua Leung <aligorith@gmail.com>2008-02-25 07:38:48 +0300
committerJoshua Leung <aligorith@gmail.com>2008-02-25 07:38:48 +0300
commit3023458aa7319a100cfb248a3ace72de5f854670 (patch)
treeedc44ff0a2bfae198c90c623d74341c80628c46c /source/blender/src/sculptmode.c
parenteaf111a34c46d78e6669f6e59f59b4eded7d4f66 (diff)
Purge of compiler warnings (number 2):
* initial values I added in radialcontrol.c might need to be reviewed if they cause problems(I used 200, as it seems many tools were setting that) * #pragma warnings are the only warnings I still get, so that means we have a clean slate again
Diffstat (limited to 'source/blender/src/sculptmode.c')
-rw-r--r--source/blender/src/sculptmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/sculptmode.c b/source/blender/src/sculptmode.c
index 039b43efefb..3fda71bf828 100644
--- a/source/blender/src/sculptmode.c
+++ b/source/blender/src/sculptmode.c
@@ -1191,7 +1191,7 @@ void init_brushaction(BrushAction *a, short *mouse, short *pr_mouse)
int i;
const char flip = (get_qual() == LR_SHIFTKEY);
const char anchored = sculptmode_brush()->flag & SCULPT_BRUSH_ANCHORED;
- short orig_mouse[2], dx, dy;
+ short orig_mouse[2], dx=0, dy=0;
a->flip = flip;
a->symm.index = 0;