Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pvs warnings #21145

Merged
merged 5 commits into from
Nov 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(PVS/V593): review expression of type A = B < C
  • Loading branch information
dundargoc committed Nov 21, 2022
commit c110bda5b5ae5f353a852933c118739a2a08e018
2 changes: 1 addition & 1 deletion src/nvim/os/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ int os_file_mkdir(char *fname, int32_t mode)
*tail = NUL;
int r;
char *failed_dir;
if ((r = os_mkdir_recurse(fname, mode, &failed_dir) < 0)) {
if (((r = os_mkdir_recurse(fname, mode, &failed_dir)) < 0)) {
semsg(_(e_mkdir), failed_dir, os_strerror(r));
xfree(failed_dir);
}
Expand Down