ref: e82877d3f91bf6031dfdf1c9d925a55ead8e338c
parent: 7737cfba6f6e13dcb5e3b4214ad308137a24eabc
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 07:14:40 EDT 2018
Removing unused but set variables in cin_efct.c
--- a/rott/cin_efct.c
+++ b/rott/cin_efct.c
@@ -87,7 +87,6 @@
)
{
spriteevent * sprite;
- patch_t *p;
sprite = SafeMalloc ( sizeof (spriteevent) );
@@ -103,8 +102,6 @@
sprite->frame=0;
sprite->frametime=framedelay;
- p=(patch_t *)W_CacheLumpNum( W_GetNumForName(sprite->name), PU_CACHE, Cvt_patch_t, 1);
-
sprite->x=x << FRACTIONBITS;
sprite->y=y << FRACTIONBITS;
@@ -274,7 +271,6 @@
void DrawFlic ( flicevent * flic )
{
byte * curpal;
- byte * buf;
char flicname[40];
curpal = SafeMalloc (768);
@@ -285,7 +281,6 @@
if (flic->usefile==false)
{
- buf=W_CacheLumpName(flic->name,PU_CACHE, CvtNull, 1);
strcpy(flicname,flic->name);
}
else
@@ -847,13 +842,10 @@
{
byte * buf;
int i;
- int plane;
byte src[200];
int width = StretchScreen? 320:iGLOBAL_SCREENWIDTH;
DrawClearBuffer ();
-
- plane = 0;
{
buf=(byte *)bufferofs;