Fixed: missing alloca()
Removed: unused variables