From: Johannes Sixt Date: Tue, 16 Jul 2013 05:57:20 GMT Subject: Re: [PATCH] Fix some sparse warnings Message-ID: <51E4E0C0.3060604@viscovery.net> In-Reply-To: <51E431F1.6050002@ramsay1.demon.co.uk> Am 7/15/2013 19:31, schrieb Ramsay Jones: > Sparse issues three "Using plain integer as NULL pointer" warnings. > Each warning relates to the use of an '{0}' initialiser expression > in the declaration of an 'struct object_info'. I question the value of this warning. Initialization with '= {0}' is a well-established idiom, and sparse should know about it. Also, plain 0 *is* a null pointer constant. -- Hannes