Skip to content

Commit c8ac188

Browse files
cjihrigBridgeAR
authored andcommitted
src: remove unused function
The function IsInt64() in src/node_file.cc is no longer used. This commit removes it. PR-URL: nodejs#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 fafd9fb commit c8ac188

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
@@ -154,10 +154,6 @@ void NewFSReqWrap(const FunctionCallbackInfo<Value>& args) {
154154
}
155155

156156

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

0 commit comments

Comments
 (0)