practicalswift 6835cb0ab2 Avoid static analyzer warnings regarding uninitialized arguments
Avoid static analyzer warnings regarding "Function call argument
is a pointer to uninitialized value" in cases where we are
intentionally using such arguments.

This is achieved by using ...

`f(b.begin(), b.end())` (`std::array<char, N>`)

... instead of ...

`f(b, b + N)` (`char b[N]`)

Rationale:
* Reduce false positives by guiding static analyzers regarding our
  intentions.

Before this commit:

```
$ clang-tidy-3.5 -checks=* src/bench/base58.cpp
bench/base58.cpp:23:9: warning: Function call argument is a pointer to uninitialized value [clang-analyzer-core.CallAndMessage]
        EncodeBase58(b, b + 32);
        ^
$ clang-tidy-3.5 -checks=* src/bench/verify_script.cpp
bench/verify_script.cpp:59:5: warning: Function call argument is a pointer to uninitialized value [clang-analyzer-core.CallAndMessage]
    key.Set(vchKey, vchKey + 32, false);
    ^
$
```

After this commit:

```
$ clang-tidy-3.5 -checks=* src/bench/base58.cpp
$ clang-tidy-3.5 -checks=* src/bench/verify_script.cpp
$
```
2017-07-15 14:26:50 +02:00
..
2017-06-05 00:52:36 +02:00
2017-06-22 19:18:10 +03:00
2017-07-14 19:24:17 +00:00
2017-06-22 19:18:10 +03:00
2017-07-08 13:33:01 -07:00
2017-07-08 13:33:01 -07:00
2017-06-09 10:25:26 +02:00
2017-06-09 10:25:26 +02:00
2017-06-22 19:18:10 +03:00
2017-06-09 10:25:26 +02:00
2017-06-05 16:33:35 -04:00
2017-07-13 23:25:56 +01:00
2017-06-22 19:18:10 +03:00
2017-07-08 13:33:01 -07:00
2017-07-08 13:33:01 -07:00
2017-06-09 10:25:26 +02:00
2017-07-08 13:33:01 -07:00
2017-07-14 19:24:17 +00:00