fix compile issue when DOASSERTS=y
commit22e504ceb03bb05e38f395afb039f0e0d6628936
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Sat, 19 Aug 2017 05:54:03 +0000 (19 07:54 +0200)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Sat, 19 Aug 2017 05:54:03 +0000 (19 07:54 +0200)
treecf7d9cfcb8088c4e7374a6b8fa6a463c6706852b
parent06eb521140f043454697f6a1d5593cb4f8bcfbe7
fix compile issue when DOASSERTS=y

Pthread pid caching was removed recently but an assert is still
present which checks pthread->pid, and this breaks the build when
debugging is enabled.

Reported-By: Bogdan Harjoc <harjoc@gmail.com>
libpthread/nptl/pthread_getattr_np.c