From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qy0-f178.google.com ([209.85.221.178]:60915 "EHLO mail-qy0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883Ab0BQSi4 (ORCPT ); Wed, 17 Feb 2010 13:38:56 -0500 Received: by qyk8 with SMTP id 8so2074111qyk.24 for ; Wed, 17 Feb 2010 10:38:55 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1266431764.15836.8.camel@jlt3.sipsolutions.net> References: <4B7C35C9.30607@lwfinger.net> <1266431764.15836.8.camel@jlt3.sipsolutions.net> Date: Wed, 17 Feb 2010 19:38:54 +0100 Message-ID: Subject: Re: [PATCH] v2: rtl8187: micro cleanup From: okias To: Johannes Berg Cc: Larry Finger , linville@tuxdriver.com, linux-wireless@vger.kernel.org, herton@mandriva.com.br, htl10@users.sourceforge.net Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: You have probably right, but when I use my testing program: #include main() { int a; printf("%i\n", a); a |= 22; printf("%i\n", a); } Output is: 0 22 it look correct to me 2010/2/17 Johannes Berg : > On Wed, 2010-02-17 at 19:34 +0100, okias wrote: >> I did test on small C program, and "int a" is equal to int a = 0; so >> it should be fine, but maybe I'm wrong. > > It's not equal. It will be uninitialised stack garbage if you don't > initialise it. > > johannes > -- Jabber/XMPP: okias@isgeek.info SIP VoIP: sip:17474537254@proxy01.sipphone.com