enhance code for some uninitialized fields

This commit is contained in:
Vincent Wei
2022-09-23 11:20:50 +08:00
parent dfc7e95fcd
commit 9a94fb9a7c
6 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ typedef struct _ZORDERINFO {
#ifdef _MGRM_THREADS
# ifdef __ZI_USE_RWLOCK
pthread_rwlock_t rwlock;
pthread_t wrlock_owner;
pthread_t rwlock_owner;
# else
pthread_mutex_t mutex;
# endif