diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-08-07 02:20:12 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-08-07 02:20:12 -0400 |
commit | ad5ae68acd3b0edae564064dfdc2b5b950d0b4e4 (patch) | |
tree | 4e0abd7622a6fd1a832efd9a712d2594f2f464ef /src/nvim/regexp.c | |
parent | 1fa3a7d70a99127e5dde3fdb9aa19684febb2ac7 (diff) | |
parent | 8b72ae7c7875f47b7d775038700ee17ce71a2510 (diff) | |
download | rneovim-ad5ae68acd3b0edae564064dfdc2b5b950d0b4e4.tar.gz rneovim-ad5ae68acd3b0edae564064dfdc2b5b950d0b4e4.tar.bz2 rneovim-ad5ae68acd3b0edae564064dfdc2b5b950d0b4e4.zip |
Merge #814 'Remove dead #ifdefed code'
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r-- | src/nvim/regexp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index fd1b6116f2..ba7e4eb2d3 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -1256,12 +1256,6 @@ static regprog_T *bt_regcomp(char_u *expr, int re_flags) if (reg(REG_NOPAREN, &flags) == NULL) return NULL; - /* Small enough for pointer-storage convention? */ -#ifdef SMALL_MALLOC /* 16 bit storage allocation */ - if (regsize >= 65536L - 256L) - EMSG_RET_NULL(_("E339: Pattern too long")); -#endif - /* Allocate space. */ bt_regprog_T *r = xmalloc(sizeof(bt_regprog_T) + regsize); |