[Babel-users] [PATCH 3/6] Quiet the compiler on two uninitialized variable warnings

Juliusz Chroboczek jch at irif.fr
Thu Mar 9 17:41:15 UTC 2017


> When compiled on arm and gcc 4.9.2, the compiler picks out two sets of
> variables passed by reference that "might be used uninitialized".

> They aren't, but certainly in the getnet case it was not immediately
> obvious to either me or the compiler.

> Quiet the warnings by explicitly initializing these variables.

Hmm, not sure.  Warnings are useful, and by silencing the compiler, you're
making it more likely it'll fail to diagnose actual problems.  Later
versions of gcc don't trigger the warning, so I'll leave it as it is.

I reserve the right to change my mind.

-- Juliusz



More information about the Babel-users mailing list