diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-05-21 11:15:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-21 11:15:10 +0200 |
commit | 1de77bbcec8ea4e50475e9b33986246e47614b84 (patch) | |
tree | 7dbdb40a561e7f894a07654250512373ef567080 /src/nvim/undo.c | |
parent | ca1ce590257c35426aeeaac349317d2cb163cd2e (diff) | |
download | rneovim-1de77bbcec8ea4e50475e9b33986246e47614b84.tar.gz rneovim-1de77bbcec8ea4e50475e9b33986246e47614b84.tar.bz2 rneovim-1de77bbcec8ea4e50475e9b33986246e47614b84.zip |
cleanup: remove HAVE_SELINUX #10040
We never define HAVE_SELINUX, and no one has asked for it.
So remove the dead code.
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 10996d99d5..2cc3e928f7 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -1169,10 +1169,6 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf, && os_fchown(fd, (uv_uid_t)-1, (uv_gid_t)file_info_old.stat.st_gid)) { os_setperm(file_name, (perm & 0707) | ((perm & 07) << 3)); } -# ifdef HAVE_SELINUX - if (buf->b_ffname != NULL) - mch_copy_sec(buf->b_ffname, file_name); -# endif #endif fp = fdopen(fd, "w"); |