Added missing newline at end of files to fix complier warnings.
fixed warning about double to float truncation by using float constant
Merge remote-tracking branch 'upstream/develop' into develop
Made various private functions/globals static, to fix clang warnings
fix warning about comparisions of types with different sigedness/size by changing type of one
removed dead/unreachable code
Fixed warning about unused macros by putting their declaration in the same #if as their usage
Made various private functions/globals static
Suppress warning about using 'dest' uninitialized by initializing it to NULL
Merge pull request #9 from seanm/develop

Develop - more warning fixes