docs:examples: remove "static" keyword for local variables