mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 09:05:06 +08:00
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.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user