Re: [PATCH] eliminate compiler warning for xpc_channel.c

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

 



On Tue, Apr 04, 2006 at 07:23:32AM -0700, Luck, Tony wrote:
> -	struct xpc_msg *msg;
> +	struct xpc_msg *msg = msg;
> 
> Did you mean to say "*msg = NULL"?

this is actually an ANSI-permitted idiom for shutting up compiler
warnings while not actually initialising the variable.
-
: send the line "unsubscribe linux-ia64" 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]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux