(svn r6346) -Codechange: Remove redundant assignment

This commit is contained in:
tron
2006-09-02 20:34:04 +00:00
parent 01a566429c
commit 5f7d99fb6d
4 changed files with 69 additions and 5 deletions

View File

@@ -460,7 +460,7 @@ static void CurrentScreenCallback(void *userdata, Pixel *buf, uint y, uint pitch
// generate a large piece of the world
static void LargeWorldCallback(void *userdata, Pixel *buf, uint y, uint pitch, uint n)
{
ViewPort *vp = (ViewPort *)userdata;
const ViewPort* vp = (const ViewPort*)userdata;
DrawPixelInfo dpi, *old_dpi;
int wx, left;