diff options
author | Nicolas Hillegeer <nicolas@hillegeer.com> | 2014-04-28 21:04:27 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-29 09:29:10 -0300 |
commit | 466b73108fa42b9f6b20bf32f5954ab33495a09a (patch) | |
tree | 3ef541f3802fbdb562ab4d23510df1650ea90d0d /src/regexp.c | |
parent | ce9c49f22234246f18d6e77a34908635bc6e6ece (diff) | |
download | rneovim-466b73108fa42b9f6b20bf32f5954ab33495a09a.tar.gz rneovim-466b73108fa42b9f6b20bf32f5954ab33495a09a.tar.bz2 rneovim-466b73108fa42b9f6b20bf32f5954ab33495a09a.zip |
garray: refactor ga_grow
- xrealloc will call xmalloc if the input pointer is NULL, no need to check
twice.
- use the early-quit idiom to decrease the indentation, which enhances
readability.
Diffstat (limited to 'src/regexp.c')
0 files changed, 0 insertions, 0 deletions