summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-09-16 07:59:20 +0000
committerJim Meyering <jim@meyering.net>2005-09-16 07:59:20 +0000
commitd5763af8395b78de7faaf17ffd8ac9517b2456da (patch)
treeb26da92c01579fd499bee371147177c793ce5eda /src
parent96971b59be9bd264369f08ece9e9767a440009fa (diff)
downloadcoreutils-d5763af8395b78de7faaf17ffd8ac9517b2456da.tar.xz
(show_date): Remove now-spurious braces.
Diffstat (limited to 'src')
-rw-r--r--src/date.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/date.c b/src/date.c
index af9485b74..4e65b52f8 100644
--- a/src/date.c
+++ b/src/date.c
@@ -547,13 +547,12 @@ show_date (const char *format, struct timespec when)
return false;
}
- {
- if (format == rfc_2822_format)
- setlocale (LC_TIME, "C");
- fprintftime (stdout, format, tm, 0, when.tv_nsec);
- fputc ('\n', stdout);
- if (format == rfc_2822_format)
- setlocale (LC_TIME, "");
- }
+ if (format == rfc_2822_format)
+ setlocale (LC_TIME, "C");
+ fprintftime (stdout, format, tm, 0, when.tv_nsec);
+ fputc ('\n', stdout);
+ if (format == rfc_2822_format)
+ setlocale (LC_TIME, "");
+
return true;
}