From 77b4af02c298b385d109719eac50b15f464be2cd Mon Sep 17 00:00:00 2001 From: Tharre Date: Sat, 13 Jun 2015 16:12:14 +0200 Subject: Designated initializers set values to 0 already --- src/build.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/build.c b/src/build.c index 692ed26..4c752d5 100644 --- a/src/build.c +++ b/src/build.c @@ -160,9 +160,6 @@ static int build_target(dep_info *dep) { .magic = dep->magic, .target = dep->target, .path = get_dep_path(doscripts->chosen), - .old_hash = NULL, - .new_hash = NULL, - .flags = 0, }; if (!fexists(dep2.path)) { @@ -437,9 +434,6 @@ int update_target(const char *target, int ident) { .magic = atoi(getenv("REDO_MAGIC")), .target = target, .path = get_dep_path(target), - .old_hash = NULL, - .new_hash = NULL, - .flags = 0, }; int retval = handle_ident(&dep, ident); -- cgit v1.2.3-70-g09d2