Skip to content

Commit

Permalink
src: remove unused function
Browse files Browse the repository at this point in the history
The function IsInt64() in src/node_file.cc is no longer used.
This commit removes it.

PR-URL: #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>
  • Loading branch information
cjihrig authored and BridgeAR committed Dec 15, 2017
1 parent fafd9fb commit c8ac188
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c8ac188

Please sign in to comment.