Avoid Werror for an uninitialized variable

This commit is contained in:
Hans Pabst 2024-05-22 11:07:38 +02:00
parent c5411e048c
commit 4e8a9213dd

View file

@ -366,7 +366,7 @@ CONTAINS
res = torch_c_cuda_is_available()
#else
CPABORT("CP2K was compiled without Torch library.")
MARK_USED(res)
res = .FALSE.
#endif
END FUNCTION torch_cuda_is_available