mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
fileio: Silence “!= identical subexpressions” warning
This commit is contained in:
@@ -47,6 +47,7 @@ int file_open(FileDescriptor *const ret_fp, const char *const fname,
|
|||||||
int os_open_flags = 0;
|
int os_open_flags = 0;
|
||||||
int fd;
|
int fd;
|
||||||
TriState wr = kNone;
|
TriState wr = kNone;
|
||||||
|
// -V:FLAG:501
|
||||||
#define FLAG(flags, flag, fcntl_flags, wrval, cond) \
|
#define FLAG(flags, flag, fcntl_flags, wrval, cond) \
|
||||||
do { \
|
do { \
|
||||||
if (flags & flag) { \
|
if (flags & flag) { \
|
||||||
|
Reference in New Issue
Block a user