Another valgrind uninitialized bytes complaint

This commit is contained in:
Pasi Kallinen
2023-01-07 17:28:14 +02:00
parent 8eb3b3d8d1
commit 48ae4f6d30

View File

@@ -74,6 +74,7 @@ new_light_core(coordxy x, coordxy y, int range, int type, anything *id)
ls = (light_source *) alloc(sizeof *ls);
(void) memset((genericptr_t) ls, 0, sizeof (light_source));
ls->next = gl.light_base;
ls->x = x;
ls->y = y;