diff options
author | Josh Oguin <josh.oguin@oarcorp.com> | 2014-11-19 14:39:14 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-26 07:51:58 -0600 |
commit | 43d6a28fd1fb9a0211855c67fb4cb1427743539b (patch) | |
tree | 273cc573ff1fa186a56fe21de01b394757b66452 /cpukit/libfs | |
parent | dosfs/msdos_file.c: Return an error if it occurs (diff) | |
download | rtems-43d6a28fd1fb9a0211855c67fb4cb1427743539b.tar.bz2 |
dosfs/msdos_misc.c: Remove unnecessary operation
CodeSonar flagged the increment of this pointer as unneeded. The pointer
is not used past this point.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_misc.c b/cpukit/libfs/src/dosfs/msdos_misc.c index faa62a5cf3..fdac613c72 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 -- |