浏览代码

Remove not used variables

Sergey Poznyakoff 19 年之前
父节点
当前提交
d339cc38af
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/incremen.c

+ 1 - 3
src/incremen.c

@@ -211,7 +211,7 @@ void
 update_parent_directory (const char *name)
 update_parent_directory (const char *name)
 {
 {
   struct directory *directory;
   struct directory *directory;
-  char *p, *name_buffer;
+  char *p;
 
 
   p = dir_name (name);
   p = dir_name (name);
   directory = find_directory (p);
   directory = find_directory (p);
@@ -234,7 +234,6 @@ procdir (char *name_buffer, struct stat *stat_data,
 {
 {
   struct directory *directory;
   struct directory *directory;
   bool nfs = NFS_FILE_STAT (*stat_data);
   bool nfs = NFS_FILE_STAT (*stat_data);
-  struct name *np;
 
 
   if ((directory = find_directory (name_buffer)) != NULL)
   if ((directory = find_directory (name_buffer)) != NULL)
     {
     {
@@ -946,7 +945,6 @@ read_directory_file (void)
   int fd;
   int fd;
   char *buf = 0;
   char *buf = 0;
   size_t bufsize;
   size_t bufsize;
-  long lineno = 1;
 
 
   /* Open the file for both read and write.  That way, we can write
   /* Open the file for both read and write.  That way, we can write
      it later without having to reopen it, and don't have to worry if
      it later without having to reopen it, and don't have to worry if