summaryrefslogtreecommitdiff
path: root/xfa/include/fxfa
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-29 12:59:04 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-29 12:59:04 -0500
commit5803aff484dc9ae1c41cffc1d8858a68a0e6790a (patch)
treefe44e522a824bfa7cac87d069e0f659407d33197 /xfa/include/fxfa
parent60c865d88474bab2696d1f8f62d825df001df601 (diff)
downloadpdfium-5803aff484dc9ae1c41cffc1d8858a68a0e6790a.tar.xz
Remove wParentIndex from XFA_ELEMENTHIERARCHY.
This value is never set and never read. Removing it fixes a series of warnings when building on OSX as g_XFAElementPropertyIndex does not initialize the value. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1744893002 .
Diffstat (limited to 'xfa/include/fxfa')
-rw-r--r--xfa/include/fxfa/fxfa_basic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/include/fxfa/fxfa_basic.h b/xfa/include/fxfa/fxfa_basic.h
index 39586ee71f..a93cb455ae 100644
--- a/xfa/include/fxfa/fxfa_basic.h
+++ b/xfa/include/fxfa/fxfa_basic.h
@@ -970,8 +970,8 @@ CXFA_Measurement XFA_GetAttributeDefaultValue_Measure(XFA_ELEMENT eElement,
struct XFA_ELEMENTHIERARCHY {
FX_WORD wStart;
FX_WORD wCount;
- FX_WORD wParentIndex;
};
+
struct XFA_SCRIPTHIERARCHY {
FX_WORD wMethodStart;
FX_WORD wMethodCount;
@@ -979,6 +979,7 @@ struct XFA_SCRIPTHIERARCHY {
FX_WORD wAttributeCount;
int16_t wParentIndex;
};
+
typedef XFA_SCRIPTHIERARCHY const* XFA_LPCSCRIPTHIERARCHY;
const FX_WORD* XFA_GetElementChildren(XFA_ELEMENT eElement, int32_t& iCount);
const uint8_t* XFA_GetElementAttributes(XFA_ELEMENT eElement, int32_t& iCount);