Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
src: remove unused function
The function IsInt64() in src/node_file.cc is no longer used.
This commit removes it.
  • Loading branch information
cjihrig committed Dec 14, 2017
commit 4d3ad41d0b0e0e68664224f5ac69d212ad8e7df0
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