From 544d438e71bfbf5189d10f0ea414c1ba6e2954ba Mon Sep 17 00:00:00 2001 From: Demi Marie Obenour Date: Sat, 12 Feb 2022 21:43:49 -0500 Subject: [PATCH] Fix a syntax error in the zstd example It breaks the SAPI_ENABLE_CONTRIB_TESTS build. --- contrib/zstd/example/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/zstd/example/main.cc b/contrib/zstd/example/main.cc index cb9faf1..3c899bc 100644 --- a/contrib/zstd/example/main.cc +++ b/contrib/zstd/example/main.cc @@ -64,7 +64,7 @@ absl::Status FileDescriptor(ZstdApi& api, std::string infile_s, return absl::UnavailableError(absl::StrCat("Unable to open ", outfile_s)); } - if (absl::GetFlag(FLAGS_memory_mode) { + if (absl::GetFlag(FLAGS_memory_mode)) { if (absl::GetFlag(FLAGS_decompress)) { return DecompressInMemoryFD(api, infd, outfd); }