Here's a minor code cleanup for remake.c. It declares a var but never
uses it, and the indenting isn't consistent in another function.
2000-06-26 Paul Eggert <[EMAIL PROTECTED]>
* remake.c (f_mtime): Remove unused var memtime.
===================================================================
RCS file: remake.c,v
retrieving revision 3.79.1.0
retrieving revision 3.79.1.1
diff -pu -r3.79.1.0 -r3.79.1.1
--- remake.c 2000/06/20 14:00:17 3.79.1.0
+++ remake.c 2000/06/26 17:06:01 3.79.1.1
@@ -1041,7 +1041,6 @@ f_mtime (file, search)
char *arname, *memname;
struct file *arfile;
- time_t memtime;
int arname_used = 0;
time_t member_date;
@@ -1228,13 +1227,13 @@ name_mtime (name)
{
struct stat st;
- while (stat (name, &st) != 0)
- if (errno != EINTR)
- {
- if (errno != ENOENT && errno != ENOTDIR)
- perror_with_name ("stat:", name);
- return NONEXISTENT_MTIME;
- }
+ while (stat (name, &st) != 0)
+ if (errno != EINTR)
+ {
+ if (errno != ENOENT && errno != ENOTDIR)
+ perror_with_name ("stat:", name);
+ return NONEXISTENT_MTIME;
+ }
return FILE_TIMESTAMP_STAT_MODTIME (name, st);
}