diff options
author | Harsh Prateek Bora <harsh@linux.vnet.ibm.com> | 2012-07-20 18:52:15 +0530 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-08-14 10:40:39 +0100 |
commit | db8894f2090629a2e12b1e7324c4c5c53367e048 (patch) | |
tree | ab947a4941324c7876c4d3979f3e737e0c6a1eca /qtest.h | |
parent | fd82f015a1cc2df5972f06b75b350f65da68f9cf (diff) |
trace: avoid pointer aliasing in trace_record_finish()
Declaring a TraceRecord on the stack works fine. No need for a
uint8_t array and pointer aliasing.
Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'qtest.h')
0 files changed, 0 insertions, 0 deletions