Skip to content

Commit

Permalink
- deleted: unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
saramibreak committed Feb 2, 2021
1 parent eb05ff2 commit 7d2a7f0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions DiscImageCreator/set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,11 +584,7 @@ VOID SetAndOutputTocCDText(
UINT uiPacksOfMessages[MAX_CDTEXT_LANG] = {};
UINT uiPacksOfDiscId[MAX_CDTEXT_LANG] = {};
UINT uiPacksOfGenre[MAX_CDTEXT_LANG] = {};
UINT uiPacksOfTocInfo[MAX_CDTEXT_LANG] = {};
UINT uiPacksOfTocInfo2[MAX_CDTEXT_LANG] = {};
UINT uiPacksOfUpcEan[MAX_CDTEXT_LANG] = {};
UINT uiPacksOfSizeInfo[MAX_CDTEXT_LANG] = {};
UINT uiLastSeqNumOfBlock[MAX_CDTEXT_LANG] = {};

for (INT i = 0; i < wTocTextEntries; i++) {
if (pDesc[i].PackType == CDROM_CD_TEXT_PACK_SIZE_INFO) {
Expand All @@ -601,11 +597,7 @@ VOID SetAndOutputTocCDText(
uiPacksOfMessages[pDesc[i].BlockNumber] = pDesc[i].Text[9];
uiPacksOfDiscId[pDesc[i].BlockNumber] = pDesc[i].Text[10];
uiPacksOfGenre[pDesc[i].BlockNumber] = pDesc[i].Text[11];
uiPacksOfTocInfo[pDesc[i].BlockNumber] = pDesc[i + 1].Text[0];
uiPacksOfTocInfo2[pDesc[i].BlockNumber] = pDesc[i + 1].Text[1];
uiPacksOfUpcEan[pDesc[i].BlockNumber] = pDesc[i + 1].Text[6];
uiPacksOfSizeInfo[pDesc[i].BlockNumber] = pDesc[i + 1].Text[7];
uiLastSeqNumOfBlock[pDesc[i].BlockNumber] = pDesc[i + 1].Text[8 + pDesc[i].BlockNumber];
i += 2;
}
}
Expand Down

0 comments on commit 7d2a7f0

Please sign in to comment.