mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
fc21013522
gcc < 9 makes all compound literals function scope, even though the C spec requires them to be invalid outside the current scope. Since the compiler and valgrind were not enforcing this we had a few violations which caused problems in gcc >= 9. Even though we are not quite ready to support gcc 9 officially, fix the scoping violations that currently exist in the codebase. Reported by chrlange, Ned T. Crigler.