scanner: Silence warning
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 27 Jul 2011 19:05:34 +0000 (12:05 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 28 Jul 2011 14:47:54 +0000 (07:47 -0700)
wayland/scanner.c

index dff63de..839d9d7 100644 (file)
@@ -562,7 +562,7 @@ emit_structs(struct wl_list *message_list, struct interface *interface)
 static void
 format_copyright(const char *copyright)
 {
-       int bol = 1, start, i;
+       int bol = 1, start = 0, i;
 
        for (i = 0; copyright[i]; i++) {
                if (bol && (copyright[i] == ' ' || copyright[i] == '\t')) {