ctf: Remove unused alignment comparison
authorEtienne Bergeron <etienne.bergeron@gmail.com>
Sat, 30 Nov 2013 06:37:04 +0000 (01:37 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Mon, 2 Dec 2013 15:05:13 +0000 (10:05 -0500)
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>
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StructDeclaration.java

index e43db0d81367e480ca6df237f3f85336e5791a5f..3485acc935db47b26c3eda654d8eb39b516e1c14 100644 (file)
@@ -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
This page took 0.02791 seconds and 5 git commands to generate.