diff options
author | Olli Savia <ops@iki.fi> | 2015-01-04 11:01:05 +0200 |
---|---|---|
committer | Olli Savia <ops@iki.fi> | 2015-01-04 11:01:05 +0200 |
commit | d3ca6325c2e1109d47916dd105db96c0c94d3fef (patch) | |
tree | 8da0bd9069fceacaa39fb477d4f517e1ad1fb688 | |
parent | c81b020880037a2123d74ceacee2d3096c35e644 (diff) | |
download | ATCD-d3ca6325c2e1109d47916dd105db96c0c94d3fef.tar.gz |
Initialise variable to fix compile time warning
-rw-r--r-- | ACE/Kokyu/DSRT_Sched_Queue_T.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/Kokyu/DSRT_Sched_Queue_T.cpp b/ACE/Kokyu/DSRT_Sched_Queue_T.cpp index a9ae001ba85..b42be393de6 100644 --- a/ACE/Kokyu/DSRT_Sched_Queue_T.cpp +++ b/ACE/Kokyu/DSRT_Sched_Queue_T.cpp @@ -258,7 +258,7 @@ change_prio(int old_prio, int new_prio, int policy) { PRIO_QUEUE_ITERATOR end_iter = dispatch_items_prio_queue_.end (); PRIO_QUEUE_ITERATOR iter; - int prio; + int prio = 0; iter = dispatch_items_prio_queue_.begin (); while( iter != end_iter ) |