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 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.
  • Loading branch information
cjihrig committed Jul 22, 2016
commit 54f6512a097483236d98368673d97d1266545c97
4 changes: 0 additions & 4 deletions src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ static void NewFSReqWrap(const FunctionCallbackInfo<Value>& args) {
}


static inline bool IsInt64(double x) {
return x == static_cast<double>(static_cast<int64_t>(x));
}

static void After(uv_fs_t *req) {
FSReqWrap* req_wrap = static_cast<FSReqWrap*>(req->data);
CHECK_EQ(&req_wrap->req_, req);
Expand Down