mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-21 11:31:07 +00:00
patch: remove obsolete 7zip fix
This commit is contained in:
parent
a68d899e61
commit
59fb74e5e3
1 changed files with 0 additions and 27 deletions
|
@ -1,27 +0,0 @@
|
|||
--- a/C/Threads.c
|
||||
+++ b/C/Threads.c
|
||||
@@ -371,10 +371,11 @@
|
||||
|
||||
WRes Event_Set(CEvent *p)
|
||||
{
|
||||
+ int res1, res2;
|
||||
RINOK(pthread_mutex_lock(&p->_mutex))
|
||||
p->_state = True;
|
||||
- int res1 = pthread_cond_broadcast(&p->_cond);
|
||||
- int res2 = pthread_mutex_unlock(&p->_mutex);
|
||||
+ res1 = pthread_cond_broadcast(&p->_cond);
|
||||
+ res2 = pthread_mutex_unlock(&p->_mutex);
|
||||
return (res2 ? res2 : res1);
|
||||
}
|
||||
|
||||
--- a/CPP/7zip/UI/Common/EnumDirItems.cpp
|
||||
+++ b/CPP/7zip/UI/Common/EnumDirItems.cpp
|
||||
@@ -287,7 +287,7 @@
|
||||
|
||||
CObjectVector<NFind::CDirEntry> entries;
|
||||
|
||||
- for (unsigned ttt = 0; ; ttt++)
|
||||
+ for (;;)
|
||||
{
|
||||
bool found;
|
||||
NFind::CDirEntry de;
|
Loading…
Reference in a new issue