Re: [PATCH 2/3] Fix some "variable might be used uninitialized" warnings

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

 



Ramsay Jones <ramsay@xxxxxxxxxxxxxxxxxxx> writes:

> In particular, gcc complains as follows:
>
>         CC tree-walk.o
>     tree-walk.c: In function `traverse_trees':
>     tree-walk.c:347: warning: 'e' might be used uninitialized in this \
>         function
>
>         CC builtin/revert.o
>     builtin/revert.c: In function `verify_opt_mutually_compatible':
>     builtin/revert.c:113: warning: 'opt2' might be used uninitialized in \
>         this function

Could you also add something to this effect to the commit log message:

	but I have verified that these are gcc being not careful
	enough and they are never used uninitialized.

If that is what you indeed have done, that is.

Thanks.
--
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]