[apps] Fix an uninitialized variable

Change-Id: I8a5e28b411a168e7c62108c65a7442b20f6f609a
This commit is contained in:
Romain Goyet
2017-05-07 19:49:37 +02:00
parent 02c6ecf94b
commit 227ddb01d7
2 changed files with 7 additions and 1 deletions

View File

@@ -8,7 +8,9 @@ namespace Regression {
GraphView::GraphView(Store * store, CurveViewCursor * cursor, BannerView * bannerView, View * cursorView) :
CurveView(store, cursor, bannerView, cursorView),
m_store(store)
m_store(store),
m_xLabels{},
m_yLabels{}
{
}

View File

@@ -3,6 +3,10 @@
/* See the "Run-time ABI for the ARM Architecture", Section 4.3.3 */
void __aeabi_memclr(void * dest, size_t n) {
memset(dest, 0, n);
}
void __aeabi_memclr4(void * dest, size_t n) {
memset(dest, 0, n);
}