SPC: trivial patch for static analysis
authorSooyoung Ha <yoosah.ha@samsung.com>
Mon, 4 Sep 2017 04:07:31 +0000 (13:07 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Mon, 4 Sep 2017 04:09:11 +0000 (13:09 +0900)
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
SPC/Src/base/bignum.c

index 4cd79ef4f16012ba1baec28327c1800033025747..74eb1991256a2d295afc14896ca2dc7b7375fde3 100755 (executable)
@@ -1596,6 +1596,7 @@ CRYPTOCORE_INTERNAL int SDRM_BN_Div(SDRM_BIG_NUM *BN_Quotient, SDRM_BIG_NUM *BN_
                return CRYPTO_SUCCESS;\r
        }\r
 \r
+       tmp = 1;\r
        if (BN_Quotient == NULL)\r
        {\r
         if (BN_Remainder != NULL) {\r