about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mseq.c b/mseq.c
index b8ebcfe..4bcb89f 100644
--- a/mseq.c
+++ b/mseq.c
@@ -321,7 +321,6 @@ usage:
 	int i;
 	char *f;
 	char *a;
-	struct blaze822_seq_iter iter = { 0 };
 
 	if (optind == argc) {
 		a = ":";
@@ -335,6 +334,7 @@ hack:
 			printf("%s\n", a);
 			continue;
 		}
+		struct blaze822_seq_iter iter = { 0 };
 		while ((f = blaze822_seq_next(seq, a, &iter))) {
 			char *s = f;
 			if (rflag)