diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-09-25 13:43:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-09-25 13:43:12 +0200 |
commit | bf6ec74c65e1fa7542aef1cc5d46ac6104fc25ce (patch) | |
tree | d3829eeba5624070ecae973cf16f69e32be3ebe0 | |
parent | b80818e87a5778300c71c57184746ef3e7990e5e (diff) |
Get rid of used uninitialized GCC warning
-rw-r--r-- | libbutl/filesystem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/filesystem.cxx b/libbutl/filesystem.cxx index b310dd8..80fc4d1 100644 --- a/libbutl/filesystem.cxx +++ b/libbutl/filesystem.cxx @@ -1573,7 +1573,7 @@ namespace butl // Match the pattern suffix (follows the last *) to the name trailing // characters. // - char pc; + char pc ('\0'); for (; rpi != rpe && (pc = *rpi) != '*' && rni != rne; ++rpi, ++rni) { #ifndef _WIN32 |