avoid using unavail if it is null

svn: r14486
This commit is contained in:
Eli Barzilay 2009-04-10 21:07:56 +00:00
parent 01e7df1780
commit b9bb356a17

View File

@ -2769,7 +2769,8 @@ static int do_peekc_skip(Scheme_Object *port, Scheme_Object *skip,
NULL);
if (!v) {
*unavail = 1;
if (unavail)
*unavail = 1;
return 0;
}