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);
|
fprintf(pFile, "%s\n", lpPath);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -843,6 +845,8 @@ HLValidation Validate(HLDirectoryItem *pItem)
|
||||||
PrintValidation(eValidation);
|
PrintValidation(eValidation);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -851,6 +855,8 @@ HLValidation Validate(HLDirectoryItem *pItem)
|
||||||
printf(" \n");
|
printf(" \n");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return eValidation;
|
return eValidation;
|
||||||
|
@ -882,6 +888,8 @@ hlVoid PrintAttribute(hlChar *lpPrefix, HLAttribute *pAttribute, hlChar *lpPostf
|
||||||
case HL_ATTRIBUTE_STRING:
|
case HL_ATTRIBUTE_STRING:
|
||||||
printf("%s%s: %s%s\n", lpPrefix, pAttribute->lpName, pAttribute->Value.String.lpValue, lpPostfix);
|
printf("%s%s: %s%s\n", lpPrefix, pAttribute->lpName, pAttribute->Value.String.lpValue, lpPostfix);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1151,6 +1159,8 @@ hlVoid EnterConsole(hlUInt uiPackage, hlUInt uiConsoleCommands, hlChar *lpConsol
|
||||||
printf(" Size: %u B\n", hlFileGetSize(pSubItem));
|
printf(" Size: %u B\n", hlFileGetSize(pSubItem));
|
||||||
printf(" Size On Disk: %u B\n", hlFileGetSizeOnDisk(pSubItem));
|
printf(" Size On Disk: %u B\n", hlFileGetSizeOnDisk(pSubItem));
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
uiItemCount = hlPackageGetItemAttributeCount();
|
uiItemCount = hlPackageGetItemAttributeCount();
|
||||||
|
|
Loading…
Reference in New Issue