shithub: libvpx

Download patch

ref: 1b048e966aed5362b814f4f5e1729abe62159d71
parent: b5164f55a016b32d15356f9db0dc181672a208b2
author: James Zern <[email protected]>
date: Tue Jul 19 16:46:39 EDT 2016

y4minput.c: correct empty loop formatting

prefer {}s over ';'

Change-Id: I563fc82717e1deb4f42a40e03dca318c6adaa0c1

--- a/y4minput.c
+++ b/y4minput.c
@@ -66,8 +66,8 @@
     /*If that's all we have, stop.*/
     if (p[0] == '\0') break;
     /*Find the end of this tag.*/
-    for (q = p + 1; *q != '\0' && *q != ' '; q++)
-      ;
+    for (q = p + 1; *q != '\0' && *q != ' '; q++) {
+    }
     /*Process the tag.*/
     switch (p[0]) {
       case 'W': {