RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm-5_1: rpm/ CHANGES rpm/lib/ depends.c rpminstall.c rpmps...

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Mon 06 Oct 2008 - 21:41:49 CEST
Message-ID: <20081006194149.GA31889@engelschall.com>
On Sat, Oct 04, 2008, Jeff Johnson wrote:

> [...]
>   -    if (ps == NULL || num > ps->numProblems)
>   +    if (ps == NULL);
>   +        return(NULL);
> [...]

Ops! One semicolon too much.
The function would always return NULL.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Mon Oct 6 21:44:06 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.