aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-06-13 16:12:14 +0200
committerTharre <tharre3@gmail.com>2015-06-13 16:12:14 +0200
commit77b4af02c298b385d109719eac50b15f464be2cd (patch)
tree51d9fb29a6a2df285703ce9357155353c1e95069 /src
parent1e99892519fae2f97a134dc7cc6eeea8d6ade480 (diff)
downloadredo-77b4af02c298b385d109719eac50b15f464be2cd.tar.gz
redo-77b4af02c298b385d109719eac50b15f464be2cd.tar.xz
redo-77b4af02c298b385d109719eac50b15f464be2cd.zip
Designated initializers set values to 0 already
Diffstat (limited to 'src')
-rw-r--r--src/build.c6
1 files changed, 0 insertions, 6 deletions
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);