examples: fix -Wshadow warning.