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: #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>
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)