fix rsv pointer bug

git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@31 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
dev 2005-09-12 16:48:28 +00:00
parent 133d9733a6
commit 1b4c4d0fd4

View File

@ -7177,6 +7177,9 @@ int MResAdjustDRes(
if (jreindex >= (MSched.ResDepth << 1) - 1)
break;
if ((N->R[N->RE[nreindex].Index] == NULL) || (N->R[N->RE[nreindex].Index] == (mrsv_t *)1))
continue;
if (N->R[N->RE[nreindex].Index]->Type == mrtJob)
{
JRETime = N->RE[nreindex].Time;