undo: Remove incorrect NONNULL_ALL attribute

Fixes #3605
This commit is contained in:
ZyX
2015-11-05 23:34:48 +03:00
parent e19f1c5491
commit 96dc38b3c8
2 changed files with 15 additions and 6 deletions

View File

@@ -650,7 +650,7 @@ void u_compute_hash(char_u *hash)
///
/// @return [allocated] File name to read from/write to or NULL.
char *u_get_undo_file_name(const char *const buf_ffname, const bool reading)
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT
FUNC_ATTR_WARN_UNUSED_RESULT
{
char *dirp;
char dir_name[MAXPATHL + 1];