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:
Niels Sascha Reedijk
2023-06-28 07:11:17 +00:00
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)
:
fModule(module),
fInfo(),
fHashTable(fInfo),
fFirstMemory(NULL),
fPrivateAperture(aperture)