In testPCIVPDResourceCustomCompareIndex() there are two variables
declared at one line. They are both g_autoptr() decorated which
makes it worse, because coccinelle fails to parse that.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
static int
testPCIVPDResourceCustomCompareIndex(const void *data G_GNUC_UNUSED)
{
- g_autoptr(virPCIVPDResourceCustom) a = NULL, b = NULL;
+ g_autoptr(virPCIVPDResourceCustom) a = NULL;
+ g_autoptr(virPCIVPDResourceCustom) b = NULL;
/* Both are NULL */
if (!virPCIVPDResourceCustomCompareIndex(a, b))