From: Josh Oguin <josh.og...@oarcorp.com> CodeSonar flagged the increment of this pointer as unneeded. The pointer is not used past this point. --- cpukit/libfs/src/dosfs/msdos_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/libfs/src/dosfs/msdos_misc.c b/cpukit/libfs/src/dosfs/msdos_misc.c index faa62a5..fdac613 100644 --- a/cpukit/libfs/src/dosfs/msdos_misc.c +++ b/cpukit/libfs/src/dosfs/msdos_misc.c @@ -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 -- -- 1.9.3 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel