summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlli Savia <ops@iki.fi>2015-01-04 11:01:05 +0200
committerOlli Savia <ops@iki.fi>2015-01-04 11:01:05 +0200
commitd3ca6325c2e1109d47916dd105db96c0c94d3fef (patch)
tree8da0bd9069fceacaa39fb477d4f517e1ad1fb688
parentc81b020880037a2123d74ceacee2d3096c35e644 (diff)
downloadATCD-d3ca6325c2e1109d47916dd105db96c0c94d3fef.tar.gz
Initialise variable to fix compile time warning
-rw-r--r--ACE/Kokyu/DSRT_Sched_Queue_T.cpp2
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 )