"Explicitly assigning value of variable" build failure(s) — clang 4.0.1

PackageVersionSupposed error messageFull log Bug report
mailavenger 0.8.4-4.1pcre.c:1338:6: error: explicitly assigning value of variable of type 'BOOL' (aka 'int') to itself [-Werror,-Wself-assign] Log
massxpert 3.6.1-1chemicalGroup.cpp:548:12: error: explicitly assigning value of variable of type 'int' to itself [-Werror,-Wself-assign] Log
pam-python 1.0.6-1pam_python.c:1523:11: error: explicitly assigning value of variable of type 'void *' to itself [-Werror,-Wself-assign] Log

3 errors