summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-07-27 05:50:41 -0700
committerKristian Høgsberg <krh@bitplanet.net>2011-07-27 05:50:41 -0700
commiteb13ae17b41dea24000e8ff78b762b20c1fdf23b (patch)
tree4068d5e3427fef5cd1b077fb59c67dc2ec61fbcd
parent7a291117e7ff1c8f817242b9b223e600a0a9e3c8 (diff)
scanner: Initialize protocol.copyright to NULL
-rw-r--r--wayland/scanner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wayland/scanner.c b/wayland/scanner.c
index 9248edb..dff63de 100644
--- a/wayland/scanner.c
+++ b/wayland/scanner.c
@@ -824,6 +824,7 @@ int main(int argc, char *argv[])
wl_list_init(&protocol.interface_list);
protocol.type_index = 0;
protocol.null_run_length = 0;
+ protocol.copyright = NULL;
ctx.protocol = &protocol;
ctx.filename = "<stdin>";