[PATCH] pwdgrp.c: Removed unused variable
Ryan Long
ryan.long at oarcorp.com
Wed Apr 28 20:24:54 UTC 2021
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.
---
cpukit/libcsupport/src/pwdgrp.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/cpukit/libcsupport/src/pwdgrp.c b/cpukit/libcsupport/src/pwdgrp.c
index aac31f4..d686829 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.
*
--
1.8.3.1
More information about the devel
mailing list