If a parameter might be unused, mark it with _U_; don't stick in a fake
usage. svn path=/trunk/; revision=46749
This commit is contained in:
parent
8ed7a73e22
commit
a9635c3b9c
|
@ -124,7 +124,7 @@ sub dotap {
|
|||
$elems{$k} = $v;
|
||||
}
|
||||
|
||||
my $code = "static void wslua_${tname}_to_table(lua_State* L, const void* p) { $sname* v = (void*)p; lua_newtable(L);\n";
|
||||
my $code = "static void wslua_${tname}_to_table(lua_State* L, const void* p _U_) { lua_newtable(L);\n";
|
||||
my $doc = "Tap: $tname\n";
|
||||
|
||||
for my $n (sort keys %elems) {
|
||||
|
|
Loading…
Reference in New Issue