summaryrefslogtreecommitdiff
path: root/src/common/fs/fs_util.cpp
diff options
context:
space:
mode:
authorlat9nq <lat9nq@gmail.com>2022-05-26 18:49:18 -0400
committerlat9nq <lat9nq@gmail.com>2022-05-26 19:01:26 -0400
commit0e5a6676c325b2183904643a42ce7593b36e0d8c (patch)
treeb3bf6795af3bc9d7c7855c1307932cdb7bf1dcba /src/common/fs/fs_util.cpp
parenta9beb4746e423e976323fa3866702e0fc977d543 (diff)
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>
Diffstat (limited to 'src/common/fs/fs_util.cpp')
0 files changed, 0 insertions, 0 deletions