Indigo compilation errors with gcc 4.4.7

Reviewer: @jnealtowns

Wunused-result is not supported in gcc version 4.4.7 (gcc-version-tool output is 4407)