Skip to content

Commit ae82f7e

Browse files
authored
Remove unused 'max' functions from sha256.c (#429)
Pointed out by building with clang. I'm actually quite surprised that none of the rest of our compilers pointed this out. Signed-off-by: Chris Lalancette <[email protected]>
1 parent 025f78f commit ae82f7e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/sha256.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ static inline size_t min(size_t a, size_t b)
2222
return a < b ? a : b;
2323
}
2424

25-
static inline size_t max(size_t a, size_t b)
26-
{
27-
return a > b ? a : b;
28-
}
29-
3025
static inline uint32_t rotright(uint32_t a, const uint8_t b)
3126
{
3227
assert(b < 32);

0 commit comments

Comments
 (0)