From 7522156b5f45c021b8c95533ff501b3bfa68344c Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Tue, 8 May 2018 19:28:07 +0100 Subject: [PATCH] remove redundant memset --- nx/source/runtime/devices/fs_dev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/nx/source/runtime/devices/fs_dev.c b/nx/source/runtime/devices/fs_dev.c index 089e6a74..8bd4029e 100644 --- a/nx/source/runtime/devices/fs_dev.c +++ b/nx/source/runtime/devices/fs_dev.c @@ -241,7 +241,6 @@ fsdev_getfspath(struct _reent *r, if(fsdev_fixpath(r, path, device) == NULL) return -1; - memset(outpath, 0, FS_MAX_PATH); memcpy(outpath, __fixedpath,FS_MAX_PATH-1); outpath[FS_MAX_PATH-1] = '\0';