mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
Fix Sparse warnings about using plain integer as NULL pointer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
52d946208e
commit
b9d38e9510
16 changed files with 43 additions and 43 deletions
|
@ -193,8 +193,8 @@ int pxa2xx_pcmcia_dettach(void *opaque)
|
|||
return -ENOENT;
|
||||
|
||||
s->card->detach(s->card->state);
|
||||
s->card->slot = 0;
|
||||
s->card = 0;
|
||||
s->card->slot = NULL;
|
||||
s->card = NULL;
|
||||
|
||||
s->slot.attached = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue