• Igor Sugak's avatar
    fix -Wunused-variable · 78a596f1
    Igor Sugak authored
    Summary:
    Exposed by the latest clang:
    ```lang=bash
    folly/test/FixedStringTest.cpp:52:36: error: unused variable 's' [-Werror,-Wunused-variable]
      constexpr folly::FixedString<42> s{"hello world"};
                                       ^
    folly/gen/test/StringBenchmark.cpp:176:15: error: unused variable 'line' [-Werror,-Wunused-variable]
      StringPiece line(kLine);
                  ^
    ```
    
    Reviewed By: yfeldblum
    
    Differential Revision: D6264853
    
    fbshipit-source-id: 5cf4b0a8c99eaa31c2499746c70ddc49fdd73074
    78a596f1
StringBenchmark.cpp 9.81 KB