summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/imfs_memfile.c
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2024-01-08 13:52:17 -0600
committerJoel Sherrill <joel@rtems.org>2024-01-16 10:57:44 -0600
commit63833908863567dfa6d5f9d666f34f94a702fe14 (patch)
tree06560d79a43ef1b398dc636571d1fde1807df845 /cpukit/libfs/src/imfs/imfs_memfile.c
parentflashdev.c: return error if both buffers are NULL (diff)
downloadrtems-63833908863567dfa6d5f9d666f34f94a702fe14.tar.bz2
cpukit: Remove or use unused variable assignments
Diffstat (limited to '')
-rw-r--r--cpukit/libfs/src/imfs/imfs_memfile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_memfile.c b/cpukit/libfs/src/imfs/imfs_memfile.c
index 66c67c6ba0..3930fd6ae5 100644
--- a/cpukit/libfs/src/imfs/imfs_memfile.c
+++ b/cpukit/libfs/src/imfs/imfs_memfile.c
@@ -638,7 +638,6 @@ ssize_t IMFS_memfile_write(
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif
memcpy( &(*block_ptr)[ 0 ], src, my_length );
- my_length = 0;
copied += to_copy;
}