From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id F388C43D67A for ; Fri, 18 Oct 2019 00:17:50 +0300 (MSK) References: <6de1f18613e9b6a3f716c60b9c85457d2bd9eb64.1571341771.git.v.shpilevoy@tarantool.org> <20191017200042.GC9698@uranus.lan> <20191017210505.GD9698@uranus.lan> <20191017210820.GE9698@uranus.lan> <20191017211542.GF9698@uranus.lan> From: Vladislav Shpilevoy Message-ID: <697036ad-e9de-6202-af67-cd1e94469dca@tarantool.org> Date: Thu, 17 Oct 2019 23:22:56 +0200 MIME-Version: 1.0 In-Reply-To: <20191017211542.GF9698@uranus.lan> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [tarantool-patches] Re: [PATCH 1/1] console: fix usage of an undeclared variable List-Id: Tarantool development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cyrill Gorcunov Cc: tarantool-patches@freelists.org, tarantool-patches@dev.tarantool.org On 17/10/2019 23:15, Cyrill Gorcunov wrote: > On Thu, Oct 17, 2019 at 11:18:22PM +0200, Vladislav Shpilevoy wrote: >> Previously there was an error about undeclared variable. >> >> 'return rc' >> >> Here 'rc' was not declared. > > Yes, and it means we will get nil here, and the caller code > threat it as no-error and return empty string upward. > No, it was not nil. It was: localhost:3313> --- - error: 'builtin/box/console.lua:454: variable ''rc'' is not declared' ...