diff --git a/services/surfaceflinger/RenderEngine/ProgramCache.cpp b/services/surfaceflinger/RenderEngine/ProgramCache.cpp index 835ed8a51..f37871311 100644 --- a/services/surfaceflinger/RenderEngine/ProgramCache.cpp +++ b/services/surfaceflinger/RenderEngine/ProgramCache.cpp @@ -43,6 +43,8 @@ class Formatter { friend Formatter& indent(Formatter& f); friend Formatter& dedent(Formatter& f); public: + Formatter() : mIndent(0) {} + String8 getString() const { return mString; }