mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-10 15:58:06 +00:00
d/wmr: log at least one space in trace log
Fixes warnings ../src/xrt/drivers/wmr/wmr_hmd.c:83:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] 83 | WMR_TRACE(wh, ""); | ^~
This commit is contained in:
parent
2d408384c6
commit
2b70189b45
|
@ -80,7 +80,7 @@ hololens_sensors_decode_packet(struct wmr_hmd *wh,
|
|||
const unsigned char *buffer,
|
||||
int size)
|
||||
{
|
||||
WMR_TRACE(wh, "");
|
||||
WMR_TRACE(wh, " ");
|
||||
|
||||
if (size != 497 && size != 381) {
|
||||
WMR_ERROR(wh, "invalid hololens sensor packet size (expected 381 or 497 but got %d)", size);
|
||||
|
@ -122,7 +122,7 @@ hololens_sensors_decode_packet(struct wmr_hmd *wh,
|
|||
static bool
|
||||
hololens_sensors_read_packets(struct wmr_hmd *wh)
|
||||
{
|
||||
WMR_TRACE(wh, "");
|
||||
WMR_TRACE(wh, " ");
|
||||
|
||||
unsigned char buffer[WMR_FEATURE_BUFFER_SIZE];
|
||||
|
||||
|
|
Loading…
Reference in a new issue