Skip to content

Commit

Permalink
rlottie/example: Fixed asan warning of unintialized pointer access
Browse files Browse the repository at this point in the history
  • Loading branch information
smohantty committed May 30, 2019
1 parent 07ff41c commit e00ca32
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions example/evasapp.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,20 @@ class EvasApp
void addRenderPostCb(appCb renderPostcb, void *data) {mRenderPostCb = renderPostcb; mRenderPostData = data;}
static std::vector<std::string> jsonFiles(const std::string &dir, bool recurse=false);
public:
int mw;
int mh;
Ecore_Evas *mEcoreEvas;
Evas *mEvas;
Evas_Object *mBackground;
appCb mResizeCb;
void *mResizeData;
appCb mExitCb;
void *mExitData;
appCb mKeyCb;
void *mKeyData;
appCb mRenderPreCb;
void *mRenderPreData;
appCb mRenderPostCb;
void *mRenderPostData;
int mw{0};
int mh{0};
Ecore_Evas *mEcoreEvas{nullptr};
Evas *mEvas{nullptr};
Evas_Object *mBackground{nullptr};
appCb mResizeCb{nullptr};
void *mResizeData{nullptr};
appCb mExitCb{nullptr};
void *mExitData{nullptr};
appCb mKeyCb{nullptr};
void *mKeyData{nullptr};
appCb mRenderPreCb{nullptr};
void *mRenderPreData{nullptr};
appCb mRenderPostCb{nullptr};
void *mRenderPostData{nullptr};
};
#endif //EVASAPP_H

0 comments on commit e00ca32

Please sign in to comment.