R0.13 patch 1
July 4, 2017 Some compilers report a warning in the f_setlabel function when FF_USE_LABEL = 1 and FF_FS_EXFAT = 0.
This commit is contained in:
+1
-1
@@ -5058,7 +5058,7 @@ FRESULT f_setlabel (
|
||||
dj.obj.fs = fs;
|
||||
|
||||
/* Get length of given volume label */
|
||||
for (slen = 0; (UINT)label[slen] >= ' '; slen++) ; /* Get name length */
|
||||
for (slen = 0; (UINT)label[slen] >= ' '; slen++) {} /* Get name length */
|
||||
|
||||
#if FF_FS_EXFAT
|
||||
if (fs->fs_type == FS_EXFAT) { /* On the exFAT volume */
|
||||
|
||||
Reference in New Issue
Block a user