doppio% 8c -w cm.c
warning: cm.c:14 useless or misleading comparison: UVLONG < 0
doppio% qc -w cm.c
warning: cm.c:14 useless or misleading comparison: UVLONG < 0
doppio% 5c -w cm.c
warning: cm.c:14 useless or misleading comparison: UVLONG < 0
--- Begin Message ---
i was expecting kenc to complain about the
a < 0 test, which can never be true.

int
fetchicmp(Fetchi *f1, Fetchi *f2)
{
        uvlong a, b;

        a = f1->uid;
        b = f2->uid;

        a -= b;
        if(a > 0)
                return 1;
        if(a < 0)
                return -1;
        return 0;
}

- erik

--- End Message ---

Reply via email to