Skip to content
Snippets Groups Projects
Commit 91203fdf authored by Ralph Giles's avatar Ralph Giles
Browse files

Initialize global pointers in examples.

Global pointers are initialized to zero in C, but not in C++.

Add an explicit initializer to reduce confusion and avoid
bugs when the example code is copied into C++ applications.

Based on a patch by Alex Houghton <houghton1411@aol.com>.
parent 4bd78cd7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment