From 48b900b1b9e8d4534325191135bf48ab3f546fba Mon Sep 17 00:00:00 2001 From: Paul Chang Date: Mon, 15 Jul 2024 09:38:18 -0700 Subject: [PATCH] Fix examples/hello_world for real. PiperOrigin-RevId: 652509319 --- examples/hello_world/run.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/hello_world/run.cc b/examples/hello_world/run.cc index 65844dd..f3a331e 100644 --- a/examples/hello_world/run.cc +++ b/examples/hello_world/run.cc @@ -30,12 +30,6 @@ #include "hwy/contrib/thread_pool/thread_pool.h" int main(int argc, char** argv) { - int argc_dummy = 1; - // Required because sentencepiece uses Google I/O which requires InitGoogle. - // argc_dummy = 1 avoids sentencepiece absl flags attempting to parse - // arguments - InitGoogle("usage", &argc_dummy, &argv, false); - gcpp::LoaderArgs loader(argc, argv); if (gcpp::HasHelp(argc, argv)) { loader.Help();