Changed: #825 Remove all warnings when compiling Ryzom

This commit is contained in:
kervala 2012-01-02 15:41:22 +01:00
parent 3e32c1b037
commit 6994f7374e
2 changed files with 3 additions and 3 deletions

View file

@ -1018,8 +1018,8 @@ void CPatchDLMContext::computeTextureFar()
// compute src pixel
const CRGBA *srcPixel= pTile->getPixels(CTileFarBank::diffuse, CTileFarBank::order1);
// compute src info, for this tile rot and 256x256 context.
sint srcDeltaX;
sint srcDeltaY;
sint srcDeltaX = 0;
sint srcDeltaY = 0;
srcPixel= computeTileFarSrcDeltas(nRot, is256x256, uvOff, srcPixel, srcDeltaX, srcDeltaY);
// compute dst coordinate. start writing at pixel (1,1)

View file

@ -2118,7 +2118,7 @@ bool CPrimAlias::read (xmlNodePtr xmlNode, const char *filename, uint version, C
xmlNodePtr ptNode = CIXml::getFirstChildNode (xmlNode, "ALIAS");
if (ptNode)
{
int val;
sint val = 0;
if (ReadInt ("VALUE", val, filename, ptNode))
{
_Alias = uint32(val);