mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-25 22:08:30 +00:00
Fix some static analysis issues
This commit is contained in:
parent
fb54604b31
commit
f147d3dde9
30 changed files with 375 additions and 266 deletions
3
third_party/libcxxabi/cxa_guard_impl.h
vendored
3
third_party/libcxxabi/cxa_guard_impl.h
vendored
|
@ -338,7 +338,10 @@ public:
|
|||
return true;
|
||||
|
||||
if (has_thread_id_support)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
*thread_id_address = current_thread_id.get();
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
*init_byte_address = PENDING_BIT;
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue