| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | | |
Still does not work though.
|
| | |
| | |
| | |
| | | |
Just another pointer hack used with hash tables.
|
| | |
| | |
| | |
| | |
| | | |
The variable in question is initalized at the start of the function with
something non-NULL, specifically pointer to a static buffer.
|
| | |
| | |
| | | |
This condition was already checked at the surrounding if() at line 2422.
|
| | |
| | |
| | |
| | |
| | | |
Call PVS is referring to is using DT_FREE which will make function exit earlier,
in #ifdef EXITFREE block.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
`blocksize` was checked against UINT_MAX after it was checked against
MAX_SWAP_PAGE_SIZE which makes it always pass the check. Better use
STATIC_ASSERT instead.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
AFAIK there is no way NULL can be there, including from the line it points to.
Dunno what analyser was thinking, but dereferencing of `argv[0]` happened just
before `get_number_arg()` call: in `ascii_isdigit()` two lines above. And `idx`
cannot possibly be NULL ever, it comes from `&varname`, this could not ever give
anything, but a valid pointer.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Could not be uninitialized because `func_or_func_caller_profiling` is true only
if `do_profiling` is `YES`, and if `do_profiling` is `YES` then
`script_prof_save()` was called to initialize the variable.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Based on comments it appears that some non-printable characters intended to be
shown as `|x` (0xA0..0xFE) and some as `~x` (0x80..0x9F, 0xFF, excluding
previous). But this never happens because this is being catched by condition `c
>= 0x80` above which makes them be represented as `<A0>`. Since I find this
variant more useful and it additionally is backwards compatible (Vim does the
same thing) I just dropped dead branches.
|
| | | |
|
| | | |
|
|\ \ \ |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If procfs is missing then libuv cannot find the exe path.
Fallback to path_guess_exepath(), adapted from Vim findYourself().
Closes #6734
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
|
|\ \ \ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Compile `nvim` executable against Lua if PREFER_LUA=ON.
As the testing library `nvim-test` requires LuaJIT, it is
still compiled against LuaJIT. If LuaJIT is not available,
`nvim-test` is not built.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
execute lua directly from the remote API
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix GCC 7 issues
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When the end character in a range matches a different standard range
(e.g., [0-z]), the range would be incorrectly detected as the class of
the end character (CLASS_az).
Instead of using a fallthrough, immediately FAIL when the end character
doesn't match the expected range.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Although GCC now detects possibly unintentional fall through, there
rules around which the comments are detected are rather strict. In
cases where a comment isn't detected, upstream [recommends] using their
fallthrough attribute.
[recommends]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77817#c11
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Falling through a switch case should be commented so it's clear that
behavior is intentional.
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
|
| |/ /
| | |
| | |
| | | |
Fixes #6727
|
| | |
| | |
| | | |
Closes #6712
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|