Re: [PATCH/RFC] reflog: silence -O3 -Wuninitialized warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 3/16/2011 10:47, schrieb Jonathan Nieder:
> Since the makefile already controls what options are passed to msvc,
> is there some simple way to suppress the warning from "expire =
> expire"?

I don't think so. This is not a special warning, but just

	warning C4700: uninitialized local variable 'expire' used

That is, if you disable it, you also disable it for locations where the
warning would be justified. That's not something that I would like to do.

-- Hannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]