Skip to content

Commit 0cd98d7

Browse files
timharleyandresy
authored andcommitted
Fix build warnings.
1 parent dd0b119 commit 0cd98d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchcwrap.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ types.Generator = {
9595
end,
9696

9797
declare = function(arg)
98-
return string.format("THGenerator * arg%d;", arg.i)
98+
return string.format("THGenerator *arg%d = NULL;", arg.i)
9999
end,
100100

101101
check = function(arg, idx)

0 commit comments

Comments
 (0)