Displaying 2 results from an estimated 2 matches for "d912f6d".
Did you mean:
7912f67
2010 Nov 10
0
[PATCH] ipconfig: parse_device nuke unused variable i
gets assigned a value without any further usage.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/kinit/ipconfig/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index b392e6a..d912f6d 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -484,7 +484,7 @@ static int add_all_devices(struct netdev *template);
static int parse_device(struct netdev *dev, const char *ip)
{
char *cp;
- int i, opt;
+ int opt;
int is_ip = 0;
dprintf("IP-Config: parse_de...
2010 Nov 20
3
[PATCH 1/4] utils: cleanup unused includes
several errno.h for no good reasons.
cleanup losesetup which is not using getopt_long,
thus doesn't need getopt.h included.
Move stdarg.h include up in losesetup to more proper place.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/utils/dmesg.c | 1 -
usr/utils/losetup.c | 4 +---
usr/utils/mkfifo.c | 1 -
usr/utils/nuke.c | 1 -
usr/utils/umount.c | 1