From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128280 invoked by alias); 18 Jan 2017 14:57:39 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 128266 invoked by uid 89); 18 Jan 2017 14:57:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_40,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=HX-PHP-Originating-Script:rcube.php, Hx-languages-length:255, H*u:1.2.3, H*UA:1.2.3 X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Jan 2017 14:57:34 +0000 Received: by simark.ca (Postfix, from userid 33) id 139A71E16A; Wed, 18 Jan 2017 09:57:33 -0500 (EST) To: Luis Machado Subject: Re: [PATCH 1/6] New function null_stream X-PHP-Originating-Script: 33:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 18 Jan 2017 14:57:00 -0000 From: Simon Marchi Cc: Yao Qi , gdb-patches@sourceware.org In-Reply-To: <79d15965-fd1c-5cff-54f1-d6b7d2e6b884@codesourcery.com> References: <1484051178-16013-1-git-send-email-yao.qi@linaro.org> <1484560977-8693-1-git-send-email-yao.qi@linaro.org> <1484560977-8693-2-git-send-email-yao.qi@linaro.org> <20170118144506.GM28060@E107787-LIN> <79d15965-fd1c-5cff-54f1-d6b7d2e6b884@codesourcery.com> Message-ID: <2b52597c046b688cca11d55ac12cfb04@polymtl.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.3 X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00344.txt.bz2 On 2017-01-18 09:53, Luis Machado wrote: > We're setting stream to NULL at the top of the function and then > checking if it is NULL (it obviously is) right after that? Am i > missing something? The "static" :).