hal/dx12: fix build warning

This commit is contained in:
Dzmitry Malyshau committed 2021-09-12 17:44:22 -04:00
1 parent 518eadacb7
commit 8a16aca0fc
1 file changed
+1 -1
+1 -1
View File
@@ -253,7 +253,7 @@ impl super::Device {
error.GetBufferSize(),
)
};
write!(full_msg, ": {}", String::from_utf8_lossy(message));
let _ = write!(full_msg, ": {}", String::from_utf8_lossy(message));
unsafe {
error.destroy();
}