summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2025-01-03 08:04:16 +0000
committertb <>2025-01-03 08:04:16 +0000
commit585d9b40d717a05e39f16382d7ca6e40e9aefdcd (patch)
tree7b9b4100619c314e83f557143052d3268562988f /src/lib
parent4f04de59bdd16de730e18ee8372874f8f98e7036 (diff)
downloadopenbsd-585d9b40d717a05e39f16382d7ca6e40e9aefdcd.tar.gz
openbsd-585d9b40d717a05e39f16382d7ca6e40e9aefdcd.tar.bz2
openbsd-585d9b40d717a05e39f16382d7ca6e40e9aefdcd.zip
Remove now unnecessary initialization of c and i
Diffstat (limited to 'src/lib')
-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;