Return NULL from rpmtsProblems() if no problems exist
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 2 Sep 2010 11:12:42 +0000 (14:12 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 2 Sep 2010 11:12:42 +0000 (14:12 +0300)
commit9ee219093a4af23d491b6f2125baf78f16834bed
tree8442c0bbeb2cdd4b8b7cfb99924720d674e0d028
parent6b2de7c10acf1f1b3b29a4148d80a0d9f9750e67
Return NULL from rpmtsProblems() if no problems exist
- Avoids callers having to separately test for number of problems
  and freeing when no problems exist
lib/rpmts.c
lib/rpmts.h