summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-03 13:38:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-03 13:38:46 +0000
commite3699957747391bbd2c931df2266fe8126aa2569 (patch)
treee4f43e4bbc49d84d58263a1e8c9742e7704cea69 /cpukit/libfs
parent2003-09-03 Jiri Gaisler <jiri@gaisler.com> (diff)
downloadrtems-e3699957747391bbd2c931df2266fe8126aa2569.tar.bz2
2003-09-03 Joel Sherrill <joel@OARcorp.com>
* msdos_create.c: Remove unused variable warning.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/dosfs/msdos_create.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_create.c b/cpukit/libfs/src/dosfs/msdos_create.c
index 11e4cec94f..4b19377f6f 100644
--- a/cpukit/libfs/src/dosfs/msdos_create.c
+++ b/cpukit/libfs/src/dosfs/msdos_create.c
@@ -295,9 +295,8 @@ msdos_file_link(rtems_filesystem_location_info_t *to_loc,
rtems_status_code sc = RTEMS_SUCCESSFUL;
msdos_fs_info_t *fs_info = to_loc->mt_entry->fs_info;
fat_file_fd_t *to_fat_fd = to_loc->node_access;
- fat_file_fd_t *par_fat_fd = par_loc->node_access;
- char new_name[ MSDOS_NAME_MAX + 1 ];
- int len;
+ char new_name[ MSDOS_NAME_MAX + 1 ];
+ int len;
/*
* check spelling and format new node name