From c8ac188e3f4741e146947218689dd1f9debb3f21 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Wed, 13 Dec 2017 23:35:23 -0500 Subject: [PATCH] src: remove unused function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The function IsInt64() in src/node_file.cc is no longer used. This commit removes it. PR-URL: https://github.com/nodejs/node/pull/17671 Reviewed-By: Timothy Gu Reviewed-By: James M Snell Reviewed-By: Gireesh Punathil Reviewed-By: Rich Trott Reviewed-By: Daniel Bevenius Reviewed-By: Anna Henningsen Reviewed-By: Evan Lucas Reviewed-By: Tobias Nießen Reviewed-By: Jon Moss --- src/node_file.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/node_file.cc b/src/node_file.cc index f146e4ddff6..e615179bee2 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -154,10 +154,6 @@ void NewFSReqWrap(const FunctionCallbackInfo& args) { } -inline bool IsInt64(double x) { - return x == static_cast(static_cast(x)); -} - void After(uv_fs_t *req) { FSReqWrap* req_wrap = static_cast(req->data); CHECK_EQ(req_wrap->req(), req);