Fix build break with uninitialized boost_fd.
Change-Id: Icf209e2e0f4835db01f61dbf83b4715db9ef03a9
(cherry picked from commit def6c151f4
)
This commit is contained in:
parent
82d84897b1
commit
b43225eefb
|
@ -266,8 +266,8 @@ int set_cpuset_policy(int tid, SchedPolicy policy)
|
|||
policy = _policy(policy);
|
||||
pthread_once(&the_once, __initialize);
|
||||
|
||||
int fd;
|
||||
int boost_fd;
|
||||
int fd = -1;
|
||||
int boost_fd = -1;
|
||||
switch (policy) {
|
||||
case SP_BACKGROUND:
|
||||
fd = bg_cpuset_fd;
|
||||
|
|
Loading…
Reference in New Issue