diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-05-16 15:46:13 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-17 07:02:44 -0300 |
commit | bd2ab0d8a53f0d5b5443f9709644ade451716fe3 (patch) | |
tree | f0e26bcc1e4f73d9a2abd4df087a283513a436cb /scripts/msgpack-gen.lua | |
parent | 5209d2271b5e66ea3da0fc9056f99b8cafc14aa6 (diff) | |
download | rneovim-bd2ab0d8a53f0d5b5443f9709644ade451716fe3.tar.gz rneovim-bd2ab0d8a53f0d5b5443f9709644ade451716fe3.tar.bz2 rneovim-bd2ab0d8a53f0d5b5443f9709644ade451716fe3.zip |
Replace if (ga->ga_len) with if (!GA_EMPTY(ga))
Used Coccinelle to perform the changes
```diff
@@
expression E;
statement S;
@@
(
- if (E.ga_len) S
+ if (!GA_EMPTY(&E)) S
|
- if (E->ga_len) S
+ if (!GA_EMPTY(E)) S
)
```
Diffstat (limited to 'scripts/msgpack-gen.lua')
0 files changed, 0 insertions, 0 deletions