src: remove duplicate assignment of `O_EXCL` in node_constants.cc · nodejs/node@852b8e4

Commit 852b8e4

Tango992targos

authored and

committed

src: remove duplicate assignment of O_EXCL in node_constants.cc

PR-URL: #59049 Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 0 additions & 4 deletions

Original file line numberDiff line numberDiff line change

@@ -1105,10 +1105,6 @@ NODE_DEFINE_CONSTANT(target, UV_FS_O_FILEMAP);

11051105

NODE_DEFINE_CONSTANT(target, O_DIRECTORY);

11061106

#endif

11071107
1108-

#ifdef O_EXCL

1109-

NODE_DEFINE_CONSTANT(target, O_EXCL);

1110-

#endif

1111-
11121108

#ifdef O_NOATIME

11131109

NODE_DEFINE_CONSTANT(target, O_NOATIME);

11141110

#endif

0 commit comments