2014-02-27 wcdj
Address warnings
The GNU compiler collection (GCC) 4.6.3 warns about suspicious uses of memory addresses. The memoryaddress [-Waddress] warning is enabledby specifying the -Wall compiler option.
Addresses always evaluate as true
Problem: I received the following warning: the address of 'ThisSubCommand' will always evaluate as ‘true’ [-Waddress]
Solution: The compiler issues a warning when a pointeraddress by itself is compared in an
if statement. You mighthave wanted to test whether the string is a null st