- Timestamp:
- Jul 22, 2016 3:04:27 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/BiosCommonCode/MakeAlternativeSource.cpp
r62406 r62450 338 338 339 339 340 #if 0 /* unused */ 340 341 /** 341 342 * Checks if a dword could be a far 16:16 BIOS address. … … 356 357 return true; 357 358 } 359 #endif 358 360 359 361 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/VBoxBs3ObjConverter.cpp
r60727 r62450 162 162 remove(pszFile); 163 163 164 int rc = -1;165 164 FILE *pFile = openfile(pszFile, true); 166 165 if (pFile) … … 1028 1027 } 1029 1028 1029 #if 0 /* unused */ 1030 1030 /** 1031 1031 * LEDATA + FIXUPP - Adds a byte to the LEDATA record, splitting if needed. … … 1041 1041 return false; 1042 1042 } 1043 #endif 1043 1044 1044 1045 /** … … 1933 1934 if (omfWriter_BeginModule(pThis, pszFile)) 1934 1935 { 1935 Elf64_Ehdr const *pEhdr = (Elf64_Ehdr const *)pbFile;1936 Elf64_Shdr const *paShdrs = (Elf64_Shdr const *)&pbFile[pEhdr->e_shoff];1937 const char *pszStrTab = (const char *)&pbFile[paShdrs[pEhdr->e_shstrndx].sh_offset];1938 1939 1936 if ( convertElfSectionsToSegDefsAndGrpDefs(pThis, &ElfStuff) 1940 1937 && convertElfSymbolsToPubDefsAndExtDefs(pThis, &ElfStuff) … … 3620 3617 { 3621 3618 Elf64_Ehdr const *pEhdr = (Elf64_Ehdr const *)pbFile; 3622 Elf64_Shdr const *paShdrs = (Elf64_Shdr const *)&pbFile[pEhdr->e_shoff];3623 const char *pszStrTab = (const char *)&pbFile[paShdrs[pEhdr->e_shstrndx].sh_offset];3624 3619 3625 3620 if ( convertMachOSectionsToSegDefsAndGrpDefs(pThis, &MachOStuff) … … 4586 4581 4587 4582 /* Begin and write the CV version signature. */ 4588 uint32_t const cbMaxChunk = RT_ALIGN(OMF_MAX_RECORD_PAYLOAD - 1 - 16, 4); /* keep the data dword aligned */4589 4583 if ( !omfWriter_LEDataBegin(pThis, pOmfStuff->iSymbolsSeg, 0) 4590 4584 || !omfWriter_LEDataAddU32(pThis, RTCVSYMBOLS_SIGNATURE_CV8)) -
trunk/src/bldprogs/VBoxCPP.cpp
r62002 r62450 1113 1113 1114 1114 1115 #if 0 /* unused */ 1115 1116 /** 1116 1117 * Skips white spaces, including escaped new-lines. … … 1141 1142 } 1142 1143 } 1144 #endif 1143 1145 1144 1146 … … 1263 1265 { 1264 1266 size_t offSaved = ScmStreamTell(pStrmInput); 1265 RTEXITCODE rcExit =vbcppProcessSkipWhiteEscapedEolAndComments(pThis, pStrmInput);1267 /*RTEXITCODE rcExit =*/ vbcppProcessSkipWhiteEscapedEolAndComments(pThis, pStrmInput); 1266 1268 unsigned ch = ScmStreamPeekCh(pStrmInput); 1267 1269 if (ch == '(') … … 2292 2294 PSCMSTREAM pStrmInput = pExp->pStrmInput; 2293 2295 size_t offSaved = ScmStreamTell(pStrmInput); 2294 RTEXITCODE rcExit =vbcppProcessSkipWhiteEscapedEolAndComments(pThis, pStrmInput);2296 /*RTEXITCODE rcExit = */ vbcppProcessSkipWhiteEscapedEolAndComments(pThis, pStrmInput); 2295 2297 unsigned ch = ScmStreamPeekCh(pStrmInput); 2296 2298 if (ch == '(') … … 2381 2383 { 2382 2384 RTEXITCODE rcExit = RTEXITCODE_SUCCESS; 2383 size_t cReplacements = 0;2384 2385 size_t off = 0; 2385 2386 unsigned ch; … … 3454 3455 break; 3455 3456 case '>': 3456 enmOp = kVBCppBinary_GreaterThan; break;3457 enmOp = kVBCppBinary_GreaterThan; 3457 3458 if (pParser->pszCur[1] == '=') 3458 3459 { … … 3779 3780 static VBCPPEXPRRET vbcppExprParseCharacterConstant(PVBCPPEXPRPARSER pParser) 3780 3781 { 3781 char ch = *pParser->pszCur++; 3782 Assert(*pParser->pszCur == '\''); 3783 pParser->pszCur++; 3782 3784 char ch2 = *pParser->pszCur++; 3783 3785 if (ch2 == '\'') … … 4833 4835 pchFileSpec = pchFilename = ScmStreamGetCur(pStrmInput); 4834 4836 unsigned chEnd = chType == '<' ? '>' : '"'; 4835 unsigned chPrev = ch;4836 4837 while ( (ch = ScmStreamGetCh(pStrmInput)) != ~(unsigned)0 4837 4838 && ch != chEnd) -
trunk/src/bldprogs/VBoxTpG.cpp
r58997 r62450 1021 1021 RTListForEach(&pProv->ProbeHead, pProbe, VTGPROBE, ListEntry) 1022 1022 { 1023 PVTGARG const pFirstArg = RTListGetFirst(&pProbe->ArgHead, VTGARG, ListEntry);1024 1025 1023 ScmStreamPrintf(pStrm, 1026 1024 "extern uint32_t const volatile g_cVTGProbeEnabled_%s_%s;\n" … … 1202 1200 RTListForEach(&pProv->ProbeHead, pProbe, VTGPROBE, ListEntry) 1203 1201 { 1204 PVTGARG const pFirstArg = RTListGetFirst(&pProbe->ArgHead, VTGARG, ListEntry);1205 1206 1202 generateProbeDefineName(szTmp, sizeof(szTmp), pProv->pszName, pProbe->pszMangledName); 1207 1203 ScmStreamPrintf(pStrm,
Note:
See TracChangeset
for help on using the changeset viewer.