RevisionNum is read by error(), initialize it early.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18386 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp
index e086568..a5e70d9 100644
--- a/lib/Bytecode/Reader/Reader.cpp
+++ b/lib/Bytecode/Reader/Reader.cpp
@@ -2166,6 +2166,7 @@
                                    const std::string &ModuleID) {
 
   try {
+    RevisionNum = 0;
     At = MemStart = BlockStart = Buf;
     MemEnd = BlockEnd = Buf + Length;