groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 03/37: src/preproc/preconv/preconv.cpp: Fix style nit.


From: G. Branden Robinson
Subject: [groff] 03/37: src/preproc/preconv/preconv.cpp: Fix style nit.
Date: Mon, 14 Mar 2022 01:59:06 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit fd2dfbf65e8334a6f58731cc5d4710fd26ec7bc6
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]