Skip to content
Snippets Groups Projects
Commit 5837e13e authored by Simon McVittie's avatar Simon McVittie
Browse files

wrap: Fix logic for whether Steam Runtime is passed through


If opt_runtime is NULL, it makes no sense to look at what happens if it
is dereferenced. The intention here was to treat both NULL and the empty
string as no runtime.

Detected by clang scan-build.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent c17890af
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment