This commit is contained in:
Igor Pavlov
2016-05-20 00:00:00 +00:00
committed by Kornel Lesiński
parent 66ac98bb02
commit bec3b479dc
88 changed files with 972 additions and 753 deletions

View File

@@ -59,7 +59,10 @@ CCtrlHandlerSetter::~CCtrlHandlerSetter()
{
#if !defined(UNDER_CE) && defined(_WIN32)
if (!SetConsoleCtrlHandler(HandlerRoutine, FALSE))
throw "SetConsoleCtrlHandler fails";
{
// warning for throw in destructor.
// throw "SetConsoleCtrlHandler fails";
}
#endif
}

View File

@@ -900,10 +900,10 @@ HRESULT Print_OpenArchive_Props(CStdOutStream &so, const CCodecs *codecs, const
RINOK(PrintArcProp(so, archive, kpidPhySize, NULL));
if (er.TailSize != 0)
PrintPropNameAndNumber(so, kpidTailSize, er.TailSize);
UInt32 numProps;
RINOK(archive->GetNumberOfArchiveProperties(&numProps));
{
UInt32 numProps;
RINOK(archive->GetNumberOfArchiveProperties(&numProps));
for (UInt32 j = 0; j < numProps; j++)
{
CMyComBSTR name;