From fa3808be7e2a69b3f6d29e684efa61ac264cdb6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Ho=C5=A1ek?= Date: Sat, 30 Jun 2012 20:16:42 +0200 Subject: [PATCH] HLExtract: add default cases --- HLExtract/Main.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/HLExtract/Main.c b/HLExtract/Main.c index 19dfee5..09e45a3 100644 --- a/HLExtract/Main.c +++ b/HLExtract/Main.c @@ -657,6 +657,8 @@ hlVoid List(FILE *pFile, HLDirectoryItem *pItem, hlBool bListFolders, hlBool bLi fprintf(pFile, "%s\n", lpPath); } break; + default: + break; } } @@ -843,6 +845,8 @@ HLValidation Validate(HLDirectoryItem *pItem) PrintValidation(eValidation); printf("\n"); break; + default: + break; } } else @@ -851,6 +855,8 @@ HLValidation Validate(HLDirectoryItem *pItem) printf(" \n"); } break; + default: + break; } return eValidation; @@ -882,6 +888,8 @@ hlVoid PrintAttribute(hlChar *lpPrefix, HLAttribute *pAttribute, hlChar *lpPostf case HL_ATTRIBUTE_STRING: printf("%s%s: %s%s\n", lpPrefix, pAttribute->lpName, pAttribute->Value.String.lpValue, lpPostfix); break; + default: + break; } } @@ -1151,6 +1159,8 @@ hlVoid EnterConsole(hlUInt uiPackage, hlUInt uiConsoleCommands, hlChar *lpConsol printf(" Size: %u B\n", hlFileGetSize(pSubItem)); printf(" Size On Disk: %u B\n", hlFileGetSizeOnDisk(pSubItem)); break; + default: + break; } uiItemCount = hlPackageGetItemAttributeCount();