On Fri, Dec 13, 2002 at 01:46:01PM -0800, Blair Zajac wrote:
> This is really odd. With gcc 3.2.1 on IRIX, I'm getting the following
> two warnings:
>
> subversion/libsvn_wc/adm_ops.c: In function `svn_wc_delete':
> subversion/libsvn_wc/adm_ops.c:645: warning: `was_deleted' might be used
> uninitialized in this function
>
> subversion/clients/cmdline/status.c: In function `print_status':
> subversion/clients/cmdline/status.c:61: warning: `ood_status' might be
> used uninitialized in this function
>
> Using gcc 3.2.1 on RedHat 8.0 linux, I get no warnings. Anybody else
> seeing these warnings? Anybody know why we'd get different warnings
> with the same compiler?
GCC generates these warnings after generating RTL, which can express
the same operation differently on different targets. Thus, it may
discover that the variables are properly initialized on some targets
but not others.
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 13 23:23:09 2002