瀏覽代碼

Remove unused vars

master
sin 10 年之前
父節點
當前提交
ce1fcfc7b8
共有 1 個檔案被更改,包括 0 行新增7 行删除
  1. +0
    -7
      noice.c

+ 0
- 7
noice.c 查看文件

@@ -485,8 +485,6 @@ void
browse(const char *ipath, const char *ifilter)
{
DIR *dirp;
int dfd;
struct dirent *dp;
struct entry *dents;
int i, n, cur;
int r, ret;
@@ -498,10 +496,6 @@ browse(const char *ipath, const char *ifilter)

cur = 0;
begin:
/* Path and filter should be malloc(3)-ed strings at all times */
n = 0;
dents = NULL;

dirp = opendir(path);
if (dirp == NULL) {
printwarn();
@@ -525,7 +519,6 @@ begin:

for (;;) {
int nlines;
int maxlen;
int odd;
char *pathnew;
char *name;


Loading…
取消
儲存