diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-13 12:01:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-13 12:01:22 +0200 |
commit | 2e4f6de4038113436dc227f1eaef142fe99d2b09 (patch) | |
tree | 3a90ff47eb492da92c0e8c992ba0323bd363f50d /cli-tests/group/driver.cxx | |
parent | 1f83704a70b9c4065a5eb9f65e94919415d238ae (diff) |
Work around bogus "may be used uninitialized" warning issued by GCC 12
Diffstat (limited to 'cli-tests/group/driver.cxx')
-rw-r--r-- | cli-tests/group/driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-tests/group/driver.cxx b/cli-tests/group/driver.cxx index 357b9a9..9a3c710 100644 --- a/cli-tests/group/driver.cxx +++ b/cli-tests/group/driver.cxx @@ -52,7 +52,7 @@ main (int argc, char* argv[]) s.peek (); assert (pos == s.position ()); - const char* a; + const char* a (0); if (!sa) { a = s.next (); |