Merge remote-tracking branch 'origin/patch'

This commit is contained in:
Ryan Kurtz 2022-04-14 15:07:28 -04:00
commit c7351125e5
6 changed files with 27 additions and 26 deletions

View file

@ -113,7 +113,7 @@ class CompositeDBAdapterV5V6 extends CompositeDBAdapter {
if (compositeTable.getSchema().getVersion() == V5_VERSION) {
throw new UnsupportedOperationException();
}
if (packValue < CompositeInternal.DEFAULT_ALIGNMENT) {
if (packValue < CompositeInternal.DEFAULT_PACKING) {
packValue = CompositeInternal.NO_PACKING;
}
else {

View file

@ -28,12 +28,6 @@ import ghidra.util.exception.NotYetImplementedException;
*/
public abstract class CompositeDataTypeImpl extends GenericDataType implements CompositeInternal {
// Strings used for toString formatting
private static final String ALIGN_NAME = "aligned";
private static final String PACKING_NAME = "pack";
private static final String DISABLED_PACKING_NAME = "disabled";
private static final String DEFAULT_PACKING_NAME = "";
private String description;
protected int minimumAlignment = DEFAULT_ALIGNMENT;