comment unused function argument
replace standards-wobbling variable-length-arrays with alloca()