Skip to content
Snippets Groups Projects
Ralph Giles's avatar
Ralph Giles authored
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>.
91203fdf
History