gbranden pushed a commit to branch master
in repository groff.
commit fd2dfbf65e8334a6f58731cc5d4710fd26ec7bc6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Mar 6 22:14:53 2022 +1100
src/preproc/preconv/preconv.cpp: Fix style nit.
Drop braces around single-statement conditional body.
---
src/preproc/preconv/preconv.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/preproc/preconv/preconv.cpp b/src/preproc/preconv/preconv.cpp
index 0e9ce28a..e7abc533 100644
--- a/src/preproc/preconv/preconv.cpp
+++ b/src/preproc/preconv/preconv.cpp
@@ -1099,9 +1099,8 @@ do_file(const char *filename)
}
if (debug_flag)
fprintf(stderr, "processing %s\n", reported_filename.contents());
- if (fseek(fp, 0L, SEEK_SET) == 0) {
+ if (fseek(fp, 0L, SEEK_SET) == 0)
is_seekable = true;
- }
else {
SET_BINARY(fileno(fp));
if (debug_flag)
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit