src: remove unused function

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 <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
This commit is contained in:
cjihrig 2017-12-13 23:35:23 -05:00 committed by Ruben Bridgewater
parent fafd9fbd01
commit c8ac188e3f
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -154,10 +154,6 @@ void NewFSReqWrap(const FunctionCallbackInfo<Value>& args) {
}
inline bool IsInt64(double x) {
return x == static_cast<double>(static_cast<int64_t>(x));
}
void After(uv_fs_t *req) {
FSReqWrap* req_wrap = static_cast<FSReqWrap*>(req->data);
CHECK_EQ(req_wrap->req(), req);