Skip to content
Snippets Groups Projects
Commit ed64d68d authored by John Marshall's avatar John Marshall
Browse files

Miscellaneous portability / warning fixes

Remove extra parentheses that clang thinks are there to prevent a
different warning for "if (numConsumedByB = 0) /*assignment intended*/".
Use 0 instead of NULL to initialise non-pointers.
Only const *integral or enumeration* static data members can be portably
initialised within the class definition.
parent 5fc981c1
No related branches found
No related tags found
Loading
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