mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Misc. minor fixes
This commit is contained in:
parent
93a97381bd
commit
82ec5b9fa8
3 changed files with 4 additions and 3 deletions
|
|
@ -131,7 +131,7 @@ struct dir *browse_sort(struct dir *list) {
|
|||
|
||||
void browse_draw_info(struct dir *dr) {
|
||||
struct dir *t;
|
||||
int i,j;
|
||||
int i;
|
||||
|
||||
nccreate(11, 60, "Item info");
|
||||
|
||||
|
|
|
|||
|
|
@ -452,8 +452,10 @@ int calc_process() {
|
|||
free(name);
|
||||
free(path);
|
||||
|
||||
if(links != NULL)
|
||||
if(links != NULL) {
|
||||
free(links);
|
||||
links = NULL;
|
||||
}
|
||||
|
||||
/* success */
|
||||
if(!n && !failed) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#ifndef LINK_MAX
|
||||
# ifdef _POSIX_LINK_MAX
|
||||
|
|
|
|||
Loading…
Reference in a new issue