agp_gart: initialize member before using it.
GCC 13 warns that this member could be unitialized. Now it is initialized explicitly before it is used anywhere else. Change-Id: Ia8d5e95cc247921c6ee240a106a80d73c54caee4 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6652 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
03c3e2083e
commit
555b9ff733
@@ -417,6 +417,7 @@ get_aperture(aperture_id id)
|
|||||||
Aperture::Aperture(agp_gart_bus_module_info *module, void *aperture)
|
Aperture::Aperture(agp_gart_bus_module_info *module, void *aperture)
|
||||||
:
|
:
|
||||||
fModule(module),
|
fModule(module),
|
||||||
|
fInfo(),
|
||||||
fHashTable(fInfo),
|
fHashTable(fInfo),
|
||||||
fFirstMemory(NULL),
|
fFirstMemory(NULL),
|
||||||
fPrivateAperture(aperture)
|
fPrivateAperture(aperture)
|
||||||
|
|||||||
Reference in New Issue
Block a user