Skip to content

Commit d5cef71

Browse files
cjihrigMylesBorins
authored andcommitted
src: remove unused function
The function IsInt64() in src/node_file.cc is no longer used. This commit removes it. PR-URL: #17671 Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Jon Moss <[email protected]>
1 parent 6d9b1e4 commit d5cef71

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/node_file.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,6 @@ void NewFSReqWrap(const FunctionCallbackInfo<Value>& args) {
153153
}
154154

155155

156-
inline bool IsInt64(double x) {
157-
return x == static_cast<double>(static_cast<int64_t>(x));
158-
}
159-
160156
void After(uv_fs_t *req) {
161157
FSReqWrap* req_wrap = static_cast<FSReqWrap*>(req->data);
162158
CHECK_EQ(req_wrap->req(), req);

0 commit comments

Comments
 (0)