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:
authorCampbell Barton <ideasman42@gmail.com>2012-01-10 02:18:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-10 02:18:04 +0400
commit0e4f4acc2fc0801145ffb065d0309b57e2a7c2f3 (patch)
treef72a8f0de0ee7d3c97a500d4614362973be94395 /source/blender/blenkernel/intern/tracking.c
parent0e4e608b710b0e65ece073e9cf2887aac2f3fd54 (diff)
comment unused vars
Diffstat (limited to 'source/blender/blenkernel/intern/tracking.c')
-rw-r--r--source/blender/blenkernel/intern/tracking.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c
index 5124337fe92..e55f4dfbf78 100644
--- a/source/blender/blenkernel/intern/tracking.c
+++ b/source/blender/blenkernel/intern/tracking.c
@@ -1064,7 +1064,7 @@ static ImBuf *get_area_imbuf(ImBuf *ibuf, MovieTrackingTrack *track, MovieTracki
{
ImBuf *tmpibuf;
int x, y;
- int x1, y1, x2, y2, w, h;
+ int x1, y1 /*, x2, y2 */ /* UNUSED */, w, h;
float mpos[2];
copy_v2_v2(mpos, marker->pos);
@@ -1085,8 +1085,11 @@ static ImBuf *get_area_imbuf(ImBuf *ibuf, MovieTrackingTrack *track, MovieTracki
x1= x-(int)(w/2.0f);
y1= y-(int)(h/2.0f);
+
+#if 0 /* UNUSED */
x2= x+(int)(w/2.0f);
y2= y+(int)(h/2.0f);
+#endif
/* dimensions should be odd */
tmpibuf= IMB_allocImBuf(w+margin*2, h+margin*2, 32, IB_rect);