aboutsummaryrefslogtreecommitdiff
path: root/src/regexp.c
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-04-28 21:04:27 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-29 09:29:10 -0300
commit466b73108fa42b9f6b20bf32f5954ab33495a09a (patch)
tree3ef541f3802fbdb562ab4d23510df1650ea90d0d /src/regexp.c
parentce9c49f22234246f18d6e77a34908635bc6e6ece (diff)
downloadrneovim-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