mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 15:56:35 +08:00
dosfs/msdos_misc.c: Remove unnecessary operation
CodeSonar flagged the increment of this pointer as unneeded. The pointer is not used past this point.
This commit is contained in:
committed by
Joel Sherrill
parent
21c0ca8426
commit
43d6a28fd1
@@ -110,7 +110,7 @@ msdos_short_name_hex(char* sfn, int num)
|
||||
for (i = 0; i < 4; i++, c++)
|
||||
*c = hex[(num >> ((3 - i) * 4)) & 0xf];
|
||||
*c++ = '~';
|
||||
*c++ = '1';
|
||||
*c = '1';
|
||||
}
|
||||
|
||||
/* msdos_name_type --
|
||||
|
||||
Reference in New Issue
Block a user