summaryrefslogtreecommitdiff
path: root/src/h__02_Writer.cpp
diff options
context:
space:
mode:
authormsheby <msheby@cinecert.com>2012-04-01 21:24:45 +0000
committermsheby <>2012-04-01 21:24:45 +0000
commit02576f10e9fbda710a7db35757950786a776a71d (patch)
tree6b959cd439157f16a5179f9204451d700c8c8229 /src/h__02_Writer.cpp
parentaac3cfda50b82f7b763b69b9acfcc4d63c81d98b (diff)
eliminate output filename warnings
Diffstat (limited to 'src/h__02_Writer.cpp')
-rw-r--r--src/h__02_Writer.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/h__02_Writer.cpp b/src/h__02_Writer.cpp
index 0ff0660..919e89a 100644
--- a/src/h__02_Writer.cpp
+++ b/src/h__02_Writer.cpp
@@ -447,17 +447,18 @@ Result_t AS_02::h__Writer::CreateBodyPartPair()
m_BodyPartEssence->PreviousPartition = m_CurrentIndexBodyPartition->ThisPartition;
m_HeaderPart.m_RIP.PairArray.push_back(RIP::Pair(m_CurrentIndexBodyPartition->BodySID, m_CurrentIndexBodyPartition->ThisPartition));
- if(m_BodyPartList.size()>0){
- m_CurrentIndexBodyPartition->PreviousPartition = m_BodyPartList.back()->ThisPartition;
- }
- else{
- m_CurrentIndexBodyPartition->PreviousPartition = m_HeaderPart.ThisPartition;
- }
+ if(m_BodyPartList.size()>0)
+ {
+ m_CurrentIndexBodyPartition->PreviousPartition = m_BodyPartList.back()->ThisPartition;
+ }
+ else
+ {
+ m_CurrentIndexBodyPartition->PreviousPartition = m_HeaderPart.ThisPartition;
+ }
//necessary to traverse across all of the body partition packs and update the FooterPartition entries at the end of writing
this->m_BodyPartList.push_back(m_CurrentIndexBodyPartition);
this->m_BodyPartList.push_back(m_BodyPartEssence);
-
}
/* similar to both index strategies */