Cleanup pointer access in adapter and font.
Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
diff --git a/driver/rsdPath.cpp b/driver/rsdPath.cpp
index e04bc02..79ec487 100644
--- a/driver/rsdPath.cpp
+++ b/driver/rsdPath.cpp
@@ -112,7 +112,7 @@
DrvPathStatic::DrvPathStatic(const Allocation *vtx, const Allocation *loops) {
mSegmentCount = vtx->getType()->getDimX() / 3;
mSegments = new segment_t[mSegmentCount];
-
+/*
const float *fin = (const float *)vtx->getPtr();
for (uint32_t ct=0; ct < mSegmentCount; ct++) {
segment_t *s = &mSegments[ct];
@@ -126,6 +126,7 @@
s->y2 = fin[5];
fin += 6;
}
+ */
}
DrvPathStatic::~DrvPathStatic() {