Mercurial > vim
view src/proto/blob.pro @ 18446:b026f4524f25 v8.1.2217
patch 8.1.2217: compiler warning for unused variable
Commit: https://github.com/vim/vim/commit/c7488a7fc8ed0d4fd9cc440117ff848170321517
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 26 12:23:04 2019 +0200
patch 8.1.2217: compiler warning for unused variable
Problem: Compiler warning for unused variable.
Solution: Move variable inside #ifdef. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Oct 2019 12:30:06 +0200 |
parents | ef23ec1eee54 |
children | 94eda51ba9ba |
line wrap: on
line source
/* blob.c */ blob_T *blob_alloc(void); int rettv_blob_alloc(typval_T *rettv); void rettv_blob_set(typval_T *rettv, blob_T *b); int blob_copy(typval_T *from, typval_T *to); void blob_free(blob_T *b); void blob_unref(blob_T *b); long blob_len(blob_T *b); int blob_get(blob_T *b, int idx); void blob_set(blob_T *b, int idx, char_u c); int blob_equal(blob_T *b1, blob_T *b2); int read_blob(FILE *fd, blob_T *blob); int write_blob(FILE *fd, blob_T *blob); char_u *blob2string(blob_T *blob, char_u **tofree, char_u *numbuf); blob_T *string2blob(char_u *str); void blob_remove(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */