summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wayland/scanner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wayland/scanner.c b/wayland/scanner.c
index dff63de..839d9d7 100644
--- a/wayland/scanner.c
+++ b/wayland/scanner.c
@@ -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')) {