remove unused variables
parent, user_id, and group_id are unused. Signed-off-by: Serge Hallyn <shallyn@cisco.com>
This commit is contained in:
parent
8ca6eea938
commit
b03df41906
@ -167,7 +167,7 @@ int find_new_gid (bool sys_group,
|
|||||||
bool *used_gids;
|
bool *used_gids;
|
||||||
const struct group *grp;
|
const struct group *grp;
|
||||||
gid_t gid_min, gid_max, preferred_min;
|
gid_t gid_min, gid_max, preferred_min;
|
||||||
gid_t group_id, id;
|
gid_t id;
|
||||||
gid_t lowest_found, highest_found;
|
gid_t lowest_found, highest_found;
|
||||||
int result;
|
int result;
|
||||||
int nospam = 0;
|
int nospam = 0;
|
||||||
|
@ -167,7 +167,7 @@ int find_new_uid(bool sys_user,
|
|||||||
bool *used_uids;
|
bool *used_uids;
|
||||||
const struct passwd *pwd;
|
const struct passwd *pwd;
|
||||||
uid_t uid_min, uid_max, preferred_min;
|
uid_t uid_min, uid_max, preferred_min;
|
||||||
uid_t user_id, id;
|
uid_t id;
|
||||||
uid_t lowest_found, highest_found;
|
uid_t lowest_found, highest_found;
|
||||||
int result;
|
int result;
|
||||||
int nospam = 0;
|
int nospam = 0;
|
||||||
|
@ -165,7 +165,7 @@ int main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
char proc_dir_name[32];
|
char proc_dir_name[32];
|
||||||
char *target_str;
|
char *target_str;
|
||||||
pid_t target, parent;
|
pid_t target;
|
||||||
int proc_dir_fd;
|
int proc_dir_fd;
|
||||||
int ranges;
|
int ranges;
|
||||||
struct map_range *mappings;
|
struct map_range *mappings;
|
||||||
|
@ -96,7 +96,7 @@ int main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
char proc_dir_name[32];
|
char proc_dir_name[32];
|
||||||
char *target_str;
|
char *target_str;
|
||||||
pid_t target, parent;
|
pid_t target;
|
||||||
int proc_dir_fd;
|
int proc_dir_fd;
|
||||||
int ranges;
|
int ranges;
|
||||||
struct map_range *mappings;
|
struct map_range *mappings;
|
||||||
|
Loading…
Reference in New Issue
Block a user