Remove incorrect nonnull attribute
iso8601_leap_table_load() had an incorrect ‘nonnull’ attribute, which could lead to crashes as the compiled code could omit the test for null which then substitutes the system default. Fix it by removing the attribute.
This commit is contained in:
parent
8cc71fb069
commit
d013bff263
|
@ -124,11 +124,7 @@ be set appropriately. If \a errno is \c EINVAL, then the file does not contain
|
|||
a valid leap second table.
|
||||
|
||||
*/
|
||||
int iso8601_leap_table_load(const char* fname)
|
||||
#ifndef DOXYGEN
|
||||
__attribute__((nonnull))
|
||||
#endif
|
||||
;
|
||||
int iso8601_leap_table_load(const char* fname);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue