diff options
author | eriktorbjorn | 2011-06-30 23:47:10 +0200 |
---|---|---|
committer | eriktorbjorn | 2011-06-30 23:47:10 +0200 |
commit | 5dd8f2575b0f39dea909db73afc83f16732b2a5e (patch) | |
tree | beadcb488a8d39cbf214beeded9588c97f9f19db /engines/sword25 | |
parent | d3717c12741f69facfd76a12675d18ed3c9c5b26 (diff) | |
download | scummvm-rg350-5dd8f2575b0f39dea909db73afc83f16732b2a5e.tar.gz scummvm-rg350-5dd8f2575b0f39dea909db73afc83f16732b2a5e.tar.bz2 scummvm-rg350-5dd8f2575b0f39dea909db73afc83f16732b2a5e.zip |
JANITORIAL: Silence a couple of "variable set but not used" warnings.
Diffstat (limited to 'engines/sword25')
-rw-r--r-- | engines/sword25/gfx/image/art.cpp | 2 | ||||
-rw-r--r-- | engines/sword25/gfx/image/vectorimage.cpp | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/engines/sword25/gfx/image/art.cpp b/engines/sword25/gfx/image/art.cpp index e9715481c6..2ba102e779 100644 --- a/engines/sword25/gfx/image/art.cpp +++ b/engines/sword25/gfx/image/art.cpp @@ -2030,7 +2030,6 @@ static void art_svp_intersect_add_seg(ArtIntersectCtx *ctx, const ArtSVPSeg *in_ ArtActiveSeg *seg = art_new(ArtActiveSeg, 1); ArtActiveSeg *test; double x0, y0; - ArtActiveSeg *beg_range; ArtActiveSeg *last = NULL; ArtActiveSeg *left, *right; ArtPriPoint *pri_pt = art_new(ArtPriPoint, 1); @@ -2058,7 +2057,6 @@ static void art_svp_intersect_add_seg(ArtIntersectCtx *ctx, const ArtSVPSeg *in_ x0 = in_seg->points[0].x; y0 = in_seg->points[0].y; - beg_range = NULL; for (test = ctx->active_head; test != NULL; test = test->right) { double d; int test_bneg = test->flags & ART_ACTIVE_FLAGS_BNEG; diff --git a/engines/sword25/gfx/image/vectorimage.cpp b/engines/sword25/gfx/image/vectorimage.cpp index b9ce5f7e00..45d43c465e 100644 --- a/engines/sword25/gfx/image/vectorimage.cpp +++ b/engines/sword25/gfx/image/vectorimage.cpp @@ -247,9 +247,6 @@ VectorImage::VectorImage(const byte *pFileData, uint fileSize, bool &success, co return; } - // readout SWF size - Common::Rect movieRect = flashRectToBSRect(bs); - // Get frame rate and frame count /* uint32 frameRate = */ bs.getUInt16(); |