Commit 0e5a6676 authored by lat9nq's avatar lat9nq
Browse files

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: default avatarMai M <mathew1800@gmail.com>
parent a9beb474
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment