From 54f6512a097483236d98368673d97d1266545c97 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 22 Jul 2016 12:22:53 -0400 Subject: [PATCH] src: remove unused IsInt64() function The function IsInt64() in node_file.cc is no longer used, and was creating a warning at compile time. This commit removes the unused function. --- src/node_file.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/node_file.cc b/src/node_file.cc index a51bcabba3746f..b9fe60dc100486 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -137,10 +137,6 @@ static void NewFSReqWrap(const FunctionCallbackInfo& args) { } -static inline bool IsInt64(double x) { - return x == static_cast(static_cast(x)); -} - static void After(uv_fs_t *req) { FSReqWrap* req_wrap = static_cast(req->data); CHECK_EQ(&req_wrap->req_, req);