[XRay][compiler-rt] Remove unused variable after refactoring
Follow-up to D30630.
@@ -612,8 +612,8 @@ inline void processFunctionHook(
// By this point, we are now ready to write at most 24 bytes (one metadata
// record and one function record).
- auto BufferStart = static_cast<char *>(Buffer.Buffer);
- assert((RecordPtr + (MetadataRecSize + FunctionRecSize)) - BufferStart >=
+ assert((RecordPtr + (MetadataRecSize + FunctionRecSize)) -
+ static_cast<char *>(Buffer.Buffer) >=
static_cast<ptrdiff_t>(MetadataRecSize) &&
"Misconfigured BufferQueue provided; Buffer size not large enough.");
