summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRussell Sim <russell.sim@gmail.com>2020-06-14 07:00:40 +0200
committerRussell Sim <russell.sim@gmail.com>2020-06-14 09:08:28 +0200
commitbeac0c60e8188cb593ac82df2c0773576b493c93 (patch)
tree8dc4cac746805a071eceff3b6eb5328811aa08fa
parentdc66734ae4d5c95aff3a365c499504e758bc343b (diff)
Remove unnecessary variable assignment
-rw-r--r--proto-wine/proton.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto-wine/proton.cpp b/proto-wine/proton.cpp
index e8d69fd9..f2b0269e 100644
--- a/proto-wine/proton.cpp
+++ b/proto-wine/proton.cpp
@@ -79,8 +79,7 @@ QProcessEnvironment make_steam_environ(const QString& proton_path, int appid)
QString proton_path(const QString& proton_path)
{
- QString wine_path = proton_path + "/dist/bin/wine";
- return wine_path;
+ return proton_path + "/dist/bin/wine";
}
#endif