HLExtract: add default cases
This commit is contained in:
parent
364a4e61c5
commit
fa3808be7e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue