Suppress unused variable warning in automated test #7653

pull Lewuathe wants to merge 1 commits into bitcoin:master from Lewuathe:suppress-unused-variable-warn changing 1 files +6 −6
  1. Lewuathe commented at 1:37 PM on March 8, 2016: contributor

    max_scalar is only used when OpenSSL test is disabled.

    Running test/bitcoin-util-test.py...
      CC       src/tests-tests.o
    src/tests.c:3487:32: warning: unused variable 'max_scalar' [-Wunused-variable]
        static const unsigned char max_scalar[32] = {
                                   ^
    1 warning generated.
    
  2. Suppress unused variable warning in automated test
    ```
    Running test/bitcoin-util-test.py...
      CC       src/tests-tests.o
    src/tests.c:3487:32: warning: unused variable 'max_scalar' [-Wunused-variable]
        static const unsigned char max_scalar[32] = {
                                   ^
    1 warning generated.
    ```
    34cba11250
  3. jonasschnelli commented at 1:40 PM on March 8, 2016: contributor

    Should be reported upstream: https://github.com/bitcoin/secp256k1/issues libsecp256k1 is a subtree in bitcoin/bitcoin.

  4. Lewuathe commented at 1:45 PM on March 8, 2016: contributor

    @jonasschnelli I see. Thanks for letting me know.

  5. MarcoFalke commented at 5:39 PM on March 8, 2016: member

    Looks like this can be closed, then.

  6. Lewuathe closed this on Mar 9, 2016

  7. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-15 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me