Analysis: fix bugs found with Coverity
[scilab.git] / scilab / modules / ast / includes / analysis / gvn / OpValue.hxx
index a153479..e7d69a2 100644 (file)
@@ -41,7 +41,7 @@ struct OpValue
      * \param _kind the operation kind
      * \param _lnum the value of the operand
      */
-    OpValue(Kind _kind, uint64_t _lnum) : kind(_kind), lnum(_lnum) { }
+    OpValue(Kind _kind, uint64_t _lnum) : kind(_kind), lnum(_lnum), rnum(0) { }
 
     /**
      * \brief constructor for binary operation