diff options
author | Tharre <tharre3@gmail.com> | 2015-06-13 16:12:14 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2015-06-13 16:12:14 +0200 |
commit | 77b4af02c298b385d109719eac50b15f464be2cd (patch) | |
tree | 51d9fb29a6a2df285703ce9357155353c1e95069 /src | |
parent | 1e99892519fae2f97a134dc7cc6eeea8d6ade480 (diff) | |
download | redo-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.c | 6 |
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); |