virtual-device: Ensure we've an error before dereferencing it
This commit is contained in:
parent
31541edc58
commit
c4069065f9
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ dev_verify (FpDevice *dev)
|
|||
NULL);
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (error)
|
||||
{
|
||||
g_debug ("Virtual device scan failed with error: %s", error->message);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue