From a70d60aff70b55a883a855c7f5c964124d9368f8 Mon Sep 17 00:00:00 2001 From: Ryan Long Date: Wed, 28 Apr 2021 16:24:54 -0400 Subject: 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. --- 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 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. * -- cgit v1.2.3