Index: src/PNaClTranslator.cpp |
diff --git a/src/PNaClTranslator.cpp b/src/PNaClTranslator.cpp |
index 3f14ae028b3fedc639e3d42b9d33e7f0cc59c953..b74de0a999f908813535bfab8189e582ed05557f 100644 |
--- a/src/PNaClTranslator.cpp |
+++ b/src/PNaClTranslator.cpp |
@@ -1681,6 +1681,8 @@ private: |
Cond = Ice::InstIcmp::Sle; |
return true; |
default: |
+ // Make sure Cond is always initialized. |
+ Cond = static_cast<Ice::InstIcmp::ICond>(0); |
return false; |
} |
} |
@@ -1739,6 +1741,8 @@ private: |
Cond = Ice::InstFcmp::True; |
return true; |
default: |
+ // Make sure Cond is always initialized. |
+ Cond = static_cast<Ice::InstFcmp::FCond>(0); |
return false; |
} |
} |