diff options
Diffstat (limited to 'applets')
-rw-r--r-- | applets/applets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/applets.c b/applets/applets.c index 32c63d1e0..307c8b349 100644 --- a/applets/applets.c +++ b/applets/applets.c | |||
@@ -337,7 +337,6 @@ static inline void parse_config_file(void) | |||
337 | #if ENABLE_FEATURE_SUID | 337 | #if ENABLE_FEATURE_SUID |
338 | static void check_suid(const struct bb_applet *applet) | 338 | static void check_suid(const struct bb_applet *applet) |
339 | { | 339 | { |
340 | uid_t uid; | ||
341 | gid_t rgid; /* real gid */ | 340 | gid_t rgid; /* real gid */ |
342 | 341 | ||
343 | if (ruid == 0) /* set by parse_config_file() */ | 342 | if (ruid == 0) /* set by parse_config_file() */ |
@@ -346,6 +345,7 @@ static void check_suid(const struct bb_applet *applet) | |||
346 | 345 | ||
347 | #if ENABLE_FEATURE_SUID_CONFIG | 346 | #if ENABLE_FEATURE_SUID_CONFIG |
348 | if (suid_cfg_readable) { | 347 | if (suid_cfg_readable) { |
348 | uid_t uid; | ||
349 | struct BB_suid_config *sct; | 349 | struct BB_suid_config *sct; |
350 | mode_t m; | 350 | mode_t m; |
351 | 351 | ||