bdk: correct some types and warnings

This commit is contained in:
CTCaer
2021-10-15 16:18:06 +03:00
parent 82d0346615
commit 49bcaf3914
2 changed files with 3 additions and 4 deletions

View File

@@ -1092,8 +1092,7 @@ static int _scsi_prevent_allow_removal(usbd_gadget_ums_t *ums)
// Notify for possible unmounting?
// Normally we sync here but we do synced writes to SDMMC.
if (ums->lun.prevent_medium_removal && !prevent)
;
if (ums->lun.prevent_medium_removal && !prevent) { /* Do nothing */ }
ums->lun.prevent_medium_removal = prevent;