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:
Guy Harris 2012-12-26 06:04:05 +00:00
parent 8ed7a73e22
commit a9635c3b9c
1 changed files with 1 additions and 1 deletions

View File

@ -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) {