Skip to content

Commit

Permalink
Fixed typo in 'metadatum' grammar node that used an uninitialized value.
Browse files Browse the repository at this point in the history
git-svn-id: https://openshadinglanguage.googlecode.com/svn/trunk@537 a3683778-fedd-11de-87c3-653bb6514e15
  • Loading branch information
lgritzecho committed Jan 19, 2010
1 parent da9985c commit c8bb36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liboslcomp/oslgram.y
Expand Up @@ -272,7 +272,7 @@ metadatum
{
TypeDesc simple = lextype ($1);
simple.arraylen = $3;
TypeSpec t (simple, t.is_closure());
TypeSpec t (simple, false);
ASTvariable_declaration *var;
var = new ASTvariable_declaration (oslcompiler, t,
ustring ($2), $4, false,
Expand Down

0 comments on commit c8bb36d

Please sign in to comment.