As soon as I upgraded the code from solidity version 0.5.2 to 0.5.3, it showing warning in my for loop.
Warning: Unreachable code.
for(uint256 i=0; i < totalHoldTransactions; i++ ){
^-^
This SO article which gives idea in other programming languages. But I am still not sure why that increment variable is unreachable!
Any ideas will be appreciated. Thanks.
totalHoldTransactions
is 0 (or left uninitialized)? Anyway, it would help if you post more of your code. – Lauri Peltonen Jan 23 '19 at 13:22