As reported by cppcheck:
src/degree.c:91:4: warning: %d in format string (no. 2) requires 'int'
but the argument type is 'signed long'. [invalidPrintfArgType_sint]
printf("\r%s Selecting degrees... (%d of %d)",
^
src/degree.c:91:4: warning: %d in format string (no. 3) requires 'int'
but the argument type is 'signed long'. [invalidPrintfArgType_sint]
printf("\r%s Selecting degrees... (%d of %d)",
^
As reported by cppcheck:
src/defi.c:41:7: style: Variable 're' is assigned a value that is never used. [unreadVariable]
re = sscanf(buf, "%ld %ld", &one, &two);
^
As reported by cppcheck:
src/defi.c:18:2: warning: Assignment of function parameter has no
effect outside the function. Did you forget dereferencing it?
[uselessAssignmentPtrArg]
defi = NULL;
^