diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-04 14:54:36 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-04 14:54:36 +0000 |
commit | 3349fc4da948eb1393cd9201cd9c2615c0056c97 (patch) | |
tree | 9dbee1bc6b58c09ada9914870ec3ef11bcaf868d /applets | |
parent | 400c5b6fc6aea218fdfbc14ac709a848d9c696b0 (diff) | |
download | busybox-w32-3349fc4da948eb1393cd9201cd9c2615c0056c97.tar.gz busybox-w32-3349fc4da948eb1393cd9201cd9c2615c0056c97.tar.bz2 busybox-w32-3349fc4da948eb1393cd9201cd9c2615c0056c97.zip |
applets: fix compile-time warning
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 | ||