shithub: jbig2

Download patch

ref: 243b91b224b414dae03d260c646f29774585a75f
parent: c19d8134ec3aed46c11ee2634288b943d4f6be89
author: Tor Andersson <tor.andersson@artifex.com>
date: Tue Jan 5 09:53:03 EST 2016

Fix warning: for loop has empty body (semicolon at end of line).

--- a/jbig2_text.c
+++ b/jbig2_text.c
@@ -899,7 +899,8 @@
     }
 
 	/* Table 31 */
-	for (SBSYMCODELEN = 0; (1 << SBSYMCODELEN) < SBNUMSYMS; SBSYMCODELEN++);
+	for (SBSYMCODELEN = 0; (1 << SBSYMCODELEN) < SBNUMSYMS; SBSYMCODELEN++)
+		{}
     params.IAID = jbig2_arith_iaid_ctx_new(ctx, SBSYMCODELEN);
 	params.IARI = jbig2_arith_int_ctx_new(ctx);
 	params.IARDW = jbig2_arith_int_ctx_new(ctx);