elementary_functions: fix invalid uninit error 56/21256/2
authorClement David <clement.david@esi-group.com>
Fri, 24 Jan 2020 13:03:14 +0000 (14:03 +0100)
committerCedric Delamarre <cdl@esi-group.com>
Mon, 27 Jan 2020 16:25:54 +0000 (17:25 +0100)
commit4fbe5acbf68238e795cc8b36594e6989468e1ac0
treed82e77d0549881f2817f1f5090a38a0b10460188
parent91aeb64575680bd5ee6c52ba194947ad7ba70ea7
elementary_functions: fix invalid uninit error

On VS2017 Debug, an unititialized access is detected on iOffset. Initialize
to a safe value out of the loop workaround this error.

   test_run elementary_functions permute

Change-Id: Ie8eee0a8134cf5a56cc9cca2ce80ed3cb1072548
scilab/modules/elementary_functions/sci_gateway/cpp/sci_permute.cpp