We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8bcb4 commit af2b95eCopy full SHA for af2b95e
tools/lint/linenoise/linenoise.c
@@ -1563,7 +1563,7 @@ int linenoiseHistorySave(const char *filename) {
1563
fp = fopen(filename,"w");
1564
umask(old_umask);
1565
if (fp == NULL) return -1;
1566
- chmod(filename,S_IRUSR|S_IWUSR);
+ (void)chmod(filename,S_IRUSR|S_IWUSR);
1567
for (j = 0; j < history_len; j++)
1568
fprintf(fp,"%s\n",history[j]);
1569
fclose(fp);
0 commit comments