Attachment #8775577: 0001-Static-Analysis-Uninitialized-scalar-field-In-explic.patch for bug #1282408

View | Details | Raw Unified | Return to bug 1282408
Collapse All | Expand All

(-)a/accessible/base/TextAttrs.h (-5 / +4 lines)
Line     Link Here 
 Lines 175-197   protected: Link Here 
175
    virtual bool GetValueFor(Accessible* aAccessible, T* aValue) = 0;
175
    virtual bool GetValueFor(Accessible* aAccessible, T* aValue) = 0;
176
176
177
    // Indicates if root value should be exposed.
177
    // Indicates if root value should be exposed.
178
    bool mGetRootValue;
178
    bool mGetRootValue;
179
179
180
    // Native value and flag indicating if the value is defined (initialized in
180
    // Native value and flag indicating if the value is defined (initialized in
181
    // derived classes). Note, undefined native value means it is inherited
181
    // derived classes). Note, undefined native value means it is inherited
182
    // from root.
182
    // from root.
183
    T mNativeValue;
183
    MOZ_INIT_OUTSIDE_CTOR T mNativeValue;
184
    bool mIsDefined;
184
    MOZ_INIT_OUTSIDE_CTOR bool mIsDefined;
185
185
186
    // Native root value and flag indicating if the value is defined  (initialized
186
    // Native root value and flag indicating if the value is defined  (initialized
187
    // in derived classes).
187
    // in derived classes).
188
    T mRootNativeValue;
188
    MOZ_INIT_OUTSIDE_CTOR T mRootNativeValue;
189
    bool mIsRootDefined;
189
    MOZ_INIT_OUTSIDE_CTOR bool mIsRootDefined;
190
  };
190
  };
191
191
192
192
193
  /**
193
  /**
194
   * Class is used for the work with 'language' text attribute.
194
   * Class is used for the work with 'language' text attribute.
195
   */
195
   */
196
  class LangTextAttr : public TTextAttr<nsString>
196
  class LangTextAttr : public TTextAttr<nsString>
197
  {
197
  {
198
- 

Return to bug 1282408