Unreachable Call at fcntl2.h:49 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
open (/usr/include/bits/fcntl2.h)![]() | ||||||
![]() | ||||||
42 | open (__const char *__path, int __oflag, ...) | |||||
43 | { | |||||
44 | if (__va_arg_pack_len () > 1) | |||||
45 | __open_too_many_args (); | |||||
46 | ||||||
47 | if (__builtin_constant_p (__oflag)) | |||||
48 | { | |||||
49 | if ((__oflag & O_CREAT) != 0 && __va_arg_pack_len () < 1)
| |||||
50 | { | |||||
51 | __open_missing_mode (); | |||||
52 | return __open_2 (__path, __oflag); | |||||
53 | } | |||||
54 | return __open_alias (__path, __oflag, __va_arg_pack ()); | |||||
55 | } | |||||
56 | ||||||
57 | if (__va_arg_pack_len () < 1) | |||||
58 | return __open_2 (__path, __oflag); | |||||
59 | ||||||
60 | return __open_alias (__path, __oflag, __va_arg_pack ()); | |||||
61 | } | |||||
![]() |