From e7c06719510940898e1f7f8215f4137202611308 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Fri, 29 Jul 2011 12:27:00 +0000 Subject: Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings --- src/renderer/tr_image_png.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/renderer/tr_image_png.c') diff --git a/src/renderer/tr_image_png.c b/src/renderer/tr_image_png.c index ef44c165..8b65f758 100644 --- a/src/renderer/tr_image_png.c +++ b/src/renderer/tr_image_png.c @@ -791,8 +791,6 @@ static uint8_t PredictPaeth(uint8_t a, uint8_t b, uint8_t c) int p; int pa, pb, pc; - Pr = 0; - p = ((int) a) + ((int) b) - ((int) c); pa = abs(p - ((int) a)); pb = abs(p - ((int) b)); -- cgit