aboutsummaryrefslogtreecommitdiff
path: root/libbutl/filesystem.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-09-25 13:43:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-09-25 13:43:12 +0200
commitbf6ec74c65e1fa7542aef1cc5d46ac6104fc25ce (patch)
treed3829eeba5624070ecae973cf16f69e32be3ebe0 /libbutl/filesystem.cxx
parentb80818e87a5778300c71c57184746ef3e7990e5e (diff)
Get rid of used uninitialized GCC warning
Diffstat (limited to 'libbutl/filesystem.cxx')
-rw-r--r--libbutl/filesystem.cxx2
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