aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEtienne Bergeron2013-11-30 01:37:04 (EST)
committerMatthew Khouzam2013-12-02 10:05:13 (EST)
commit1d8f198e17b2d5daf9396f99d34d7fe6b37d7a1c (patch)
treec64759f1677f4ecf849ac1a59b050e398d17ea2d
parent89808b7d2d7c7f27975eb1165c4b1c612b9954f8 (diff)
downloadorg.eclipse.linuxtools-1d8f198e17b2d5daf9396f99d34d7fe6b37d7a1c.zip
org.eclipse.linuxtools-1d8f198e17b2d5daf9396f99d34d7fe6b37d7a1c.tar.gz
org.eclipse.linuxtools-1d8f198e17b2d5daf9396f99d34d7fe6b37d7a1c.tar.bz2
ctf: Remove unused alignment comparisonrefs/changes/67/19167/2
This code just do nothing. What was the original purpose? Change-Id: I0bf24dcdf5cb607c1af0a3326dbab60d51c6fbd4 Signed-off-by: Etienne Bergeron <etienne.bergeron@gmail.com> Reviewed-on: https://git.eclipse.org/r/19167 Tested-by: Hudson CI Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
-rw-r--r--lttng/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StructDeclaration.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/lttng/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StructDeclaration.java b/lttng/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StructDeclaration.java
index e43db0d..3485acc 100644
--- a/lttng/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StructDeclaration.java
+++ b/lttng/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StructDeclaration.java
@@ -116,9 +116,6 @@ public class StructDeclaration implements IDeclaration {
this.fields.put(name, declaration);
this.fieldsList.add(name);
maxAlign = Math.max(maxAlign, declaration.getAlignment());
- if (maxAlign == 1) {
- maxAlign = 1;
- }
}
@Override