mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-21 06:49:05 +03:00
Coverity: Fix 1584343
Reorganize code in the coap_lock_lock_func().
This commit is contained in:
1 parent
d4beecbbc5
commit
b332a188e5
2 files changed
+26
-17
No files matched your search
@@ -219,7 +219,7 @@ typedef struct coap_lock_t {
|
||||
unsigned int callback_line;
|
||||
unsigned int being_freed;
|
||||
unsigned int in_callback;
|
||||
volatile unsigned int lock_count;
|
||||
unsigned int lock_count;
|
||||
} coap_lock_t;
|
||||
|
||||
void coap_lock_unlock_func(coap_lock_t *lock, const char *file, int line);
|
||||
|
||||
Reference in new issue
Block a user