Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754587AbbKWJzG (ORCPT ); Mon, 23 Nov 2015 04:55:06 -0500 Received: from mail.skyhub.de ([78.46.96.112]:34054 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754386AbbKWJzD (ORCPT ); Mon, 23 Nov 2015 04:55:03 -0500 Date: Mon, 23 Nov 2015 10:54:55 +0100 From: Borislav Petkov To: Michael Wang Cc: Pablo Neira Ayuso , netfilter-devel@vger.kernel.org, lkml Subject: Re: nfnetlink warnings Message-ID: <20151123095455.GB5134@pd.tnic> References: <20151123093607.GA5134@pd.tnic> <5652E12E.3070500@profitbricks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5652E12E.3070500@profitbricks.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 27 Hi Michael, On Mon, Nov 23, 2015 at 10:49:34AM +0100, Michael Wang wrote: > Why not just initialized it as NULL, or mark it as uninitialized_var()? because I'd like us to save us the redundant NULL initialization in the if-case. I'm not saying any of the approaches are good visually, though. Who knows, someone might have a better idea like, maybe "Oh, I wanted to rewrite that code and this handlong is going to be different anyway ..." or so. Or something to that effect. Btw, please do not top-post. Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/