[cairo] [PATCH 04/43] core: fix compiler warnings

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Tue Dec 15 12:16:51 PST 2015


On Tue, 15 Dec 2015 20:49:44 +0100, Enrico Weigelt, metux IT consult
wrote:

> The code correct, but the compiler can't check that and thinks
> there're uninitialized variables.
> 
> -    int32_t ax, bx;
> +    int32_t ax = 0, bx = 0;

I wish there was a way to get the compiler to selectively ignore such
warnings.

Still, it could be worse. It could be Java...


More information about the cairo mailing list