Fixed a strange construct. Please review.
[oota-llvm.git] / include / llvm / ADT / APInt.h
index fb71907b105e0366e419bd3e1aa6e0295e6109b0..dc5d34f3b1f34850035081ff4dda029aea72b90d 100644 (file)
@@ -207,7 +207,7 @@ public:
   
   /// Default constructor that creates an uninitialized APInt.  This is useful
   ///  for object deserialization (pair this with the static method Read).
-  explicit APInt() {}
+  explicit APInt() : BitWidth(1) {}
   
   /// @brief Used by the Bitcode serializer to emit APInts to Bitcode.
   void Emit(Serializer& S) const;