y4minput.c: correct empty loop formatting
authorJames Zern <jzern@google.com>
Wed, 20 Jul 2016 03:46:39 +0000 (20:46 -0700)
committerJames Zern <jzern@google.com>
Wed, 20 Jul 2016 03:46:39 +0000 (20:46 -0700)
prefer {}s over ';'

Change-Id: I563fc82717e1deb4f42a40e03dca318c6adaa0c1

y4minput.c

index f845d21..7de859f 100644 (file)
@@ -66,8 +66,8 @@ static int y4m_parse_tags(y4m_input *_y4m, char *_tags) {
     /*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': {