The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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, "");
| ^~

+2 -2
+2 -2
src/xrt/drivers/wmr/wmr_hmd.c
··· 80 80 const unsigned char *buffer, 81 81 int size) 82 82 { 83 - WMR_TRACE(wh, ""); 83 + WMR_TRACE(wh, " "); 84 84 85 85 if (size != 497 && size != 381) { 86 86 WMR_ERROR(wh, "invalid hololens sensor packet size (expected 381 or 497 but got %d)", size); ··· 122 122 static bool 123 123 hololens_sensors_read_packets(struct wmr_hmd *wh) 124 124 { 125 - WMR_TRACE(wh, ""); 125 + WMR_TRACE(wh, " "); 126 126 127 127 unsigned char buffer[WMR_FEATURE_BUFFER_SIZE]; 128 128