layers: Fix paramcheck struct array NULL indexing
authorDustin Graves <dustin@lunarg.com>
Mon, 4 Apr 2016 17:14:01 +0000 (11:14 -0600)
committerDustin Graves <dustin@lunarg.com>
Mon, 4 Apr 2016 17:56:29 +0000 (11:56 -0600)
commitf778c5c25847a6e819902af9d60b9921bba3bd0f
tree990a50b79684b96b8eb67d6439a84e313246cdc2
parent208a9fdc513c93446afb3e83ce9ab4e2568dc691
layers: Fix paramcheck struct array NULL indexing

Fixes an issue where the generated parameter_validation code could
index a NULL pointer to an array of structs.

Change-Id: If78f1c97ea256911d857b0b8009b38e6ca6f2581
generator.py