examples/output: Remove unused variable

doc/examples/output.c:460:9: warning: unused variable ‘i’