diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-10-21 20:35:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-10-21 20:35:37 +0200 |
commit | 7756e7465d627ff9cd01e59625484a8c302ef853 (patch) | |
tree | 15d6f8773025a03bbf9fa90047321dda0643767b /src/json.c | |
parent | bb09ceb95477ecc271854b3fdd8d2776eca66adf (diff) | |
download | vim-git-7756e7465d627ff9cd01e59625484a8c302ef853.tar.gz |
patch 8.0.0046v8.0.0046
Problem: Using NUL instead of NULL.
Solution: Change to NULL. (Dominique Pelle)
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c index 0132df67d..36d47aa99 100644 --- a/src/json.c +++ b/src/json.c @@ -861,7 +861,7 @@ json_decode_item(js_read_T *reader, typval_T *res, int options) break; } - if (res != NUL) + if (res != NULL) { res->v_type = VAR_SPECIAL; res->vval.v_number = VVAL_NONE; |