msvcrt: Use = instead of == in test (Coverity).

This commit is contained in:
Marcus Meissner 2011-02-23 20:47:32 +01:00 committed by Alexandre Julliard
parent 372c7fca58
commit 706b43f4dd
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ static void test__get_doserrno(void)
errno = EBADF;
ret = p_get_doserrno(NULL);
ok(ret == EINVAL, "Expected _get_doserrno to return EINVAL, got %d\n", ret);
ok(_doserrno = ERROR_INVALID_CMM, "Expected _doserrno to be ERROR_INVALID_CMM, got %d\n", _doserrno);
ok(_doserrno == ERROR_INVALID_CMM, "Expected _doserrno to be ERROR_INVALID_CMM, got %d\n", _doserrno);
ok(errno == EBADF, "Expected errno to be EBADF, got %d\n", errno);
_doserrno = ERROR_INVALID_CMM;