Fix PVS-Studio issue "autotests/unit/file/filewatchtest.cpp 122 err V547 Expression is always true.".