diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-14 10:04:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-14 10:04:35 +0200 |
commit | de3f340fac96aca1e626068cbbb22ec92c1dc4b6 (patch) | |
tree | befa9f5cd4d7eadd4796cdd6f9a53c112337649e | |
parent | 440ebdc157e35568abcd98b7c983d4ea9313d75f (diff) |
Fix uninitialized variable bug
-rw-r--r-- | build/utility.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/utility.cxx b/build/utility.cxx index 7ee679b..2361c8b 100644 --- a/build/utility.cxx +++ b/build/utility.cxx @@ -39,7 +39,7 @@ namespace build auto bail = [] (const char* m) {throw invalid_argument (m);}; - unsigned int ma, mi, bf, ab; + unsigned int ma, mi, bf, ab (0); size_t p (0), n (s.size ()); ma = parse (p, "invalid major version"); |