[Freeipa-devel] [PATCH 0391-0392] Add missing return value checks to pthread operations & replace strcmp(var, "") with strlen(var) to workaround Clang bug 20144

Petr Spacek pspacek at redhat.com
Tue Mar 1 13:36:41 UTC 2016


Hello,

Add missing return value checks to pthread operations.
Detected by clang 3.8 -O2 -Wunused-value.

Replace strcmp(var, "") with strlen(var) to workaround Clang bug 20144.
https://llvm.org/bugs/show_bug.cgi?id=20144

-- 
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0391-Replace-strcmp-var-with-strlen-var-to-workaround-Cla.patch
Type: text/x-patch
Size: 1528 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160301/cc7f0291/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0392-Add-missing-return-value-checks-to-pthread-operation.patch
Type: text/x-patch
Size: 4301 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160301/cc7f0291/attachment-0001.bin>


More information about the Freeipa-devel mailing list