aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-14 09:48:21 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-15 00:28:41 +0200
commit975be7e5dcf6a2ee59a6fc236e75b434b6ce4423 (patch)
tree61db44375632313a444117d342b9232463b69c24 /src/clint.py
parentc9a0875ea8ecae670b3dc7abfa2103b0719888a4 (diff)
downloadrneovim-975be7e5dcf6a2ee59a6fc236e75b434b6ce4423.tar.gz
rneovim-975be7e5dcf6a2ee59a6fc236e75b434b6ce4423.tar.bz2
rneovim-975be7e5dcf6a2ee59a6fc236e75b434b6ce4423.zip
build/win: fix warnings
../src/nvim/os/fs.c: In function 'os_can_exe': ../src/nvim/os/fs.c:247:27: warning: passing argument 1 of 'is_executable_ext' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 247 | if (is_executable_ext(name, abspath)) { | ^~~~ In file included from ../src/nvim/os/fs.c:36: src/nvim/auto/os/fs.c.generated.h:7:38: note: expected 'char *' but argument is of type 'const char *' 7 | static _Bool is_executable_ext(char *name, char **abspath) FUNC_ATTR_NONNULL_ARG(1); | ~~~~~~^~~~ ../src/nvim/os/fs.c: In function 'os_resolve_shortcut': ../src/nvim/os/fs.c:1183:56: warning: conversion from 'size_t' {aka 'const long long unsigned int'} to 'int' may change value [-Wconversion] 1183 | const int conversion_result = utf8_to_utf16(fname, len, &p); | ^~~ ../src/nvim/os/fs.c:1211:19: warning: declaration of 'conversion_result' shadows a previous local [-Wshadow] 1211 | const int conversion_result = utf16_to_utf8(wsz, -1, &rfname); | ^~~~~~~~~~~~~~~~~ ../src/nvim/os/fs.c:1183:15: note: shadowed declaration is here 1183 | const int conversion_result = utf8_to_utf16(fname, len, &p); | ^~~~~~~~~~~~~~~~~
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions