summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-26 17:38:12 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-26 17:38:12 +0100
commit978d170bdce9c0a47e6683cd7c288bc2706f3fff (patch)
treed534d8a976251fb00bbb14b76faac7d8b8a69ee5 /src/structs.h
parent673660ab00d808d1e96e7181a60c5c8545c0ee75 (diff)
patch 8.2.0151: detecting a script was already sourced is unreliablev8.2.0151
Problem: Detecting a script was already sourced is unreliable. Solution: Do not use the inode number.
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/structs.h b/src/structs.h
index 201a89bcea..74bc2ff6eb 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1665,11 +1665,6 @@ typedef struct
int sn_had_command; // TRUE if any command was executed
char_u *sn_save_cpo; // 'cpo' value when :vim9script found
-# ifdef UNIX
- int sn_dev_valid;
- dev_t sn_dev;
- ino_t sn_ino;
-# endif
# ifdef FEAT_PROFILE
int sn_prof_on; // TRUE when script is/was profiled
int sn_pr_force; // forceit: profile functions in this script