]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fixed trailing whitespaces and missing new lines.
authorNathan Moinvaziri <nathan@solidstatenetworks.com>
Sat, 4 Sep 2021 19:16:16 +0000 (12:16 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 24 Dec 2021 11:52:14 +0000 (12:52 +0100)
cmake/detect-arch.c
cmake/run-and-compare.cmake
cmake/test-compress.cmake
cmake/test-tools.cmake
deflate_fast.c
inffast.c

index 8cae4eb66850b24c22d2facb102f503bda0e10b4..84e6a841004079b2a2c1d9596f7c2d76f1e1fc7f 100644 (file)
@@ -36,7 +36,7 @@
     #if defined(__64BIT__) || defined(__powerpc64__) || defined(__ppc64__)
         #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
             #error archfound powerpc64le
-        #else 
+        #else
             #error archfound powerpc64
         #endif
     #else
@@ -94,7 +94,7 @@
     #error archfound rs6000
 
 // RISC-V
-#elif defined(__riscv) 
+#elif defined(__riscv)
     #if __riscv_xlen == 64
         #error archfound riscv64
     #elif __riscv_xlen == 32
index af54abc264d0a71e32e4e7266e1b2ec38d12f7da..209d31e9e620f301d4a3a27c7b5668c8c391e1dd 100644 (file)
@@ -59,4 +59,4 @@ endif()
 
 if(CMD_RESULT)
     message(FATAL_ERROR "Run compare failed: ${CMD_RESULT}")
-endif()
\ No newline at end of file
+endif()
index 321fa543018f7b563dff9c3e4cc8a567238bf92e..cfc7613ab242f263b0d6f4acb38c82bcccb71fc1 100644 (file)
@@ -261,4 +261,4 @@ if(GZIP_VERIFY AND NOT "${COMPRESS_ARGS}" MATCHES "-T")
     endif()
 endif()
 
-cleanup_always()
\ No newline at end of file
+cleanup_always()
index 3275935547da754402fb8160317b547419e695e2..4afe07c2c1a087f0adc0579ab06fc4f784d3211e 100644 (file)
@@ -32,4 +32,3 @@ add_test(NAME switchlevels-help
     COMMAND ${CMAKE_COMMAND}
      "-DCOMMAND=${TEST_COMMAND}"
      -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/run-and-redirect.cmake)
-
index 1594886f8c5c8799a310e5060df122f0046faac1..1e112354a0cd795bdab9c64708a87a2326d9d0a3 100644 (file)
@@ -47,7 +47,6 @@ Z_INTERNAL block_state deflate_fast(deflate_state *s, int flush) {
             /* Find the longest match, discarding those <= prev_length.
              * At this point we have always match length < MIN_MATCH
              */
-            
             if (dist <= MAX_DIST(s) && dist > 0 && hash_head != 0) {
                 /* To simplify the code, we prevent matches with the string
                  * of window index 0 (in particular we have to avoid a match
index 136b98d5a660c627dd341f04dc8903c984cb2767..de71271b2cb1828a35e24ea90e854539d8164251 100644 (file)
--- a/inffast.c
+++ b/inffast.c
@@ -152,8 +152,8 @@ void Z_INTERNAL zng_inflate_fast(PREFIX3(stream) *strm, unsigned long start) {
     lmask = (1U << state->lenbits) - 1;
     dmask = (1U << state->distbits) - 1;
 
-    /* Detect if out and window point to the same memory allocation. In this instance it is 
-       necessary to use safe chunk copy functions to prevent overwriting the window. If the 
+    /* Detect if out and window point to the same memory allocation. In this instance it is
+       necessary to use safe chunk copy functions to prevent overwriting the window. If the
        window is overwritten then future matches with far distances will fail to copy correctly. */
     extra_safe = (out >= window && out + INFLATE_FAST_MIN_LEFT <= window + wsize);