"int tmp = 0;" above is now unused.