aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-07-25 11:07:19 +0200
committerThomas White <taw@physics.org>2023-07-25 11:07:19 +0200
commit02db37f4ad7f1d9a18d136c6dd69031a72de0fb1 (patch)
treeefd19131a749e00ea2107aa6df62234ec694da87 /src/indexamajig.c
parent1e6cb84f7ae14cb39b4ca5c0bc768399462ad2d0 (diff)
indexamajig: Add missing initialiser
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index a7b5ec9d..d7b81cf0 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -868,7 +868,7 @@ int main(int argc, char *argv[])
struct asdf_options *asdf_opts = NULL;
double wl_from_dt;
double clen_from_dt;
- int err;
+ int err = 0;
/* Defaults for "top level" arguments */
args.filename = NULL;