summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2021-04-28 16:24:54 -0400
committerJoel Sherrill <joel@rtems.org>2021-04-29 08:23:22 -0500
commita70d60aff70b55a883a855c7f5c964124d9368f8 (patch)
tree9985b2a279334b46f961f64fb094ec0bfaef6d80
parentbsps/arm: ARMV7_CP15_START_WORKSPACE_ENTRY_INDEX (diff)
downloadrtems-a70d60aff70b55a883a855c7f5c964124d9368f8.tar.bz2
pwdgrp.c: Removed unused variable
The 'sc' variable was originally storing the return value of mkdir(). This was causing an issue, so it was changed to make it to where we ignored the return value with (void). The 'sc' variable was left in by mistake.
-rw-r--r--cpukit/libcsupport/src/pwdgrp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/pwdgrp.c b/cpukit/libcsupport/src/pwdgrp.c
index aac31f4988..d686829e05 100644
--- a/cpukit/libcsupport/src/pwdgrp.c
+++ b/cpukit/libcsupport/src/pwdgrp.c
@@ -63,8 +63,6 @@ static void init_file(const char *name, const char *content)
*/
static void pwdgrp_init(void)
{
- int sc;
-
/*
* Do the best to create this directory.
*