Fix maybe uninitialized warning / error

pull/83/head
Peter Würtz 4 years ago committed by GitHub
parent c0d2318b15
commit 4676115e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      peglib.h

@ -1323,7 +1323,7 @@ public:
return static_cast<size_t>(-1);
}
char32_t cp;
char32_t cp = 0;
auto len = decode_codepoint(s, n, cp);
if (!ranges_.empty()) {

Loading…
Cancel
Save