diff options
author | Kevin Brace <kevinbrace@gmx.com> | 2019-07-12 15:26:43 -0700 |
---|---|---|
committer | Kevin Brace <kevinbrace@gmx.com> | 2019-07-12 15:26:43 -0700 |
commit | aa9efaa491941a971d7a41e331ec12eedc09040e (patch) | |
tree | f713169051630b6c71c449335ac3b3bdfce32c56 /src/via_ums.c | |
parent | a6158869216eaea769a33dbec86af88200bff0b8 (diff) |
Initialize PCI bus access pointers within viaProbeVRAM()
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'src/via_ums.c')
-rw-r--r-- | src/via_ums.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/via_ums.c b/src/via_ums.c index 6dce3bd..a8f5e2e 100644 --- a/src/via_ums.c +++ b/src/via_ums.c @@ -758,8 +758,8 @@ static Bool viaProbeVRAM(ScrnInfoPtr pScrn) { #ifdef HAVE_PCIACCESS - struct pci_device *hostBridge; - struct pci_device *dramController; + struct pci_device *hostBridge = NULL; + struct pci_device *dramController = NULL; #endif CARD8 videoRAM; CARD16 hostBridgeVendorID, hostBridgeDeviceID; |