diff options
author | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2009-10-21 21:56:26 +0400 |
---|---|---|
committer | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2009-10-21 21:56:26 +0400 |
commit | 5fb73d8b81fbd1823a6c807714d6b3589e918a3b (patch) | |
tree | 4fc89128e6684313da52ad76e4b43b4bb0c62950 /source/blender/editors/sculpt_paint | |
parent | eab11543f3c411940744ab2f447a5c222d5a50dd (diff) |
Make compiler happy, remove doubtful non init usage.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 5dd69cdf030..4f38e1e0c84 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -860,7 +860,7 @@ void sample_wpaint(Scene *scene, ARegion *ar, View3D *v3d, int mode) Object *ob= OBACT; Mesh *me= get_mesh(ob); int index; - short mval[2], sco[2]; + short mval[2] = {0, 0}, sco[2]; if (!me) return; |