From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D4EBE29C02 for ; Mon, 25 Mar 2019 11:11:48 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kfIqMD0o510y for ; Mon, 25 Mar 2019 11:11:48 -0400 (EDT) Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 85ADB29B67 for ; Mon, 25 Mar 2019 11:11:48 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: [tarantool-patches] Re: [PATCH 03/13] sql: removes unused function. From: "n.pettik" In-Reply-To: <0dca725d7fa92fc2fe4d9b365eb0506035414662.1552663061.git.szudin@tarantool.org> Date: Mon, 25 Mar 2019 18:11:46 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <0dca725d7fa92fc2fe4d9b365eb0506035414662.1552663061.git.szudin@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: szudin@tarantool.org > diff --git a/src/box/sql/main.c b/src/box/sql/main.c > index 9fe2e2c9d..a3c59b126 100644 > --- a/src/box/sql/main.c > +++ b/src/box/sql/main.c > @@ -1910,22 +1910,6 @@ sql_uri_boolean(const char *zFilename, const = char *zParam, int bDflt) > return z ? sqlGetBoolean(z, bDflt) : bDflt; > } >=20 > -/* > - * Return a 64-bit integer value for a query parameter. > - */ > -sql_int64 > -sql_uri_int64(const char *zFilename, /* Filename as passed to xOpen = */ > - const char *zParam, /* URI parameter sought */ > - sql_int64 bDflt) /* return if parameter is = missing */ > -{ > - const char *z =3D sql_uri_parameter(zFilename, zParam); > - int64_t v; > - if (z !=3D NULL && sql_dec_or_hex_to_i64(z, false, &v) =3D=3D 0) > - bDflt =3D v; > - return bDflt; > -} > - What about other functions from this family? They seem to be unused as well.