Skip to content

Commit

Permalink
Fix build warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
timharley authored and andresy committed Apr 11, 2014
1 parent dd0b119 commit 0cd98d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchcwrap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ types.Generator = {
end,

declare = function(arg)
return string.format("THGenerator * arg%d;", arg.i)
return string.format("THGenerator *arg%d = NULL;", arg.i)
end,

check = function(arg, idx)
Expand Down

0 comments on commit 0cd98d7

Please sign in to comment.