Skip to content

Commit

Permalink
Merge pull request bitcoin-core#97 from kallewoof/202111-clean-arrayl…
Browse files Browse the repository at this point in the history
…en-macro

clean-up: remove unused ARRAYLEN() macro
  • Loading branch information
kallewoof committed Nov 30, 2021
2 parents 8fce681 + c01bc28 commit 729681a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions util/strencodings.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#include <cstring>
#include <functional>

#define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0]))

// util/string.h {
/**
* Check if a string does not contain any embedded NUL (\0) characters
Expand Down

0 comments on commit 729681a

Please sign in to comment.