mirror of https://git.suyu.dev/suyu/suyu
path_util: Resolve `-Wpointer-bool-conversion` warning
Clang (rightfully) warns that we are checking for the existence of pointer to something just allocated on the stack, which is always true. Instead, check whether GetModuleFileNameW failed. Co-authored-by: Mai M <mathew1800@gmail.com>merge-requests/60/head
parent
a9beb4746e
commit
0e5a6676c3
Loading…
Reference in New Issue