summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2025-01-03 08:04:16 +0000
committertb <>2025-01-03 08:04:16 +0000
commitdaed2fc4a25e4ceb7f635f7a181b2a52499630a7 (patch)
tree7b9b4100619c314e83f557143052d3268562988f
parenta167623bd8d07ad6dc3c5f501e6324e8df5448bc (diff)
downloadopenbsd-daed2fc4a25e4ceb7f635f7a181b2a52499630a7.tar.gz
openbsd-daed2fc4a25e4ceb7f635f7a181b2a52499630a7.tar.bz2
openbsd-daed2fc4a25e4ceb7f635f7a181b2a52499630a7.zip
Remove now unnecessary initialization of c and i
-rw-r--r--src/lib/libcrypto/stack/stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/stack/stack.c b/src/lib/libcrypto/stack/stack.c
index c10f4260f0..1424661879 100644
--- a/src/lib/libcrypto/stack/stack.c
+++ b/src/lib/libcrypto/stack/stack.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: stack.c,v 1.32 2025/01/03 08:03:28 tb Exp $ */ 1/* $OpenBSD: stack.c,v 1.33 2025/01/03 08:04:16 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -202,7 +202,7 @@ obj_bsearch_ex(const void *key, const void *base_, int num, int size,
202 int (*cmp)(const void *, const void *)) 202 int (*cmp)(const void *, const void *))
203{ 203{
204 const char *base = base_; 204 const char *base = base_;
205 int l, h, i = 0, c = 0; 205 int l, h, i, c;
206 206
207 l = 0; 207 l = 0;
208 h = num; 208 h = num;