[Git][pacman/pacman][master] Remove initialisation of unions
Allan McRae pushed to branch master at Pacman / Pacman Commits: e1507ad7 by Allan McRae at 2025-08-05T15:45:20+10:00 Remove initialisation of unions As of gcc-15, unions are no longer zero initialised when "{0}" is used. To revert to the old behaviour, either assumes building for C23 or adding a compiler option that may or may not work with other compilers. Remove current "initialization" to make it clear that full initialization is not occuring. All relevant fields are currently initialized before use. Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 2 changed files: - lib/libalpm/dload.c - lib/libalpm/sync.c View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/e1507ad76843a383788ccfee... -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/e1507ad76843a383788ccfee... You're receiving this email because of your account on gitlab.archlinux.org.
participants (1)
-
Allan McRae (@allan)