commit | 4c52102525fa7478fe288ca3a930f6728ce324e5 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Fri Jul 28 13:07:30 2023 -0700 |
committer | William A. Kennington III <wak@google.com> | Fri Jul 28 13:08:26 2023 -0700 |
tree | b3b364fc231836a05bb5b33a74dc9f1d9b4c1a2e | |
parent | 7bb84dbaad9e788b0bd30e2131cf14de7b034a19 [diff] [blame] |
treewide: Fix various compiler warnings LTO is currently hiding these warnings. Change-Id: I09560dfbb150f43d58f472e7592fc0c072e3cc29 Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/selutility.cpp b/selutility.cpp index 8d327d2..3473814 100644 --- a/selutility.cpp +++ b/selutility.cpp
@@ -81,7 +81,7 @@ int convert(const std::string_view& str, int base = 10) { - int ret; + int ret = 0; std::from_chars(str.data(), str.data() + str.size(), ret, base); return ret; }