diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-11-29 11:27:19 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-11-29 11:27:53 +0100 |
commit | af7bd0c91f0a6a1d40b4051cb8a8c1c19f7108e3 (patch) | |
tree | 232d90bed9fd9a1587a5d468ffcc9e725c687e7d /android/abs-lib | |
parent | 3e0e88f6751f08e3e68db48e05657f3e6b24914a (diff) |
android: WaE: variable never read
Change-Id: I35f465a085081563214d4e5c9e7fb8a7ac0ef6f7
Diffstat (limited to 'android/abs-lib')
-rwxr-xr-x | android/abs-lib/src/com/actionbarsherlock/internal/widget/IcsLinearLayout.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/android/abs-lib/src/com/actionbarsherlock/internal/widget/IcsLinearLayout.java b/android/abs-lib/src/com/actionbarsherlock/internal/widget/IcsLinearLayout.java index 1b4463a595a1..561fb680a235 100755 --- a/android/abs-lib/src/com/actionbarsherlock/internal/widget/IcsLinearLayout.java +++ b/android/abs-lib/src/com/actionbarsherlock/internal/widget/IcsLinearLayout.java @@ -199,8 +199,7 @@ public class IcsLinearLayout extends NineLinearLayout { if (child == null) { bottom = getHeight() - getPaddingBottom() - mDividerHeight; } else { - final LayoutParams lp = (LayoutParams) child.getLayoutParams(); - bottom = child.getBottom()/* + lp.bottomMargin*/; + bottom = child.getBottom(); } drawHorizontalDivider(canvas, bottom); } @@ -226,8 +225,7 @@ public class IcsLinearLayout extends NineLinearLayout { if (child == null) { right = getWidth() - getPaddingRight() - mDividerWidth; } else { - final LayoutParams lp = (LayoutParams) child.getLayoutParams(); - right = child.getRight()/* + lp.rightMargin*/; + right = child.getRight(); } drawVerticalDivider(canvas, right); } |