summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-07-27 12:05:34 -0700
committerKristian Høgsberg <krh@bitplanet.net>2011-07-28 07:47:54 -0700
commit9a606bedfdca505fdd82044793a278b2eb4b2553 (patch)
tree4fb8b630e93c808ac40b37dd4b2a991c8f368a8c
parenteb13ae17b41dea24000e8ff78b762b20c1fdf23b (diff)
scanner: Silence warning
-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')) {