bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.17.2 - mkstemp problem


From: Ralph
Subject: Re: 1.17.2 - mkstemp problem
Date: 26 Jul 2001 12:16:25 +0100

Hi,

> /u3/u1/src/groff-1.17.2/src/preproc/html/pushbackbuffer.cc   297:
>     [warning]: CFE1550 variable "ch" was set but never used
>     char ch;
>          ^

Here's a fix for this easier problem.  A simpler readNumber routine to
replace the existing one.

float pushBackBuffer::readNumber(void)
{
    int i;
    char ch;

    i = readInt();
    if ((ch = getPB()) == '.') {
        return convertToFloat(i, readInt());
    }

    putPB(ch);

    return i;
}


Ralph.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]