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

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
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...
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.