aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Boutonné2009-08-17 09:54:49 +0000
committerArnaud Boutonné2009-08-17 09:54:49 +0000
commite214755107596cf0350e0c411da12b267a36818d (patch)
treef1dfb38041e5fae6019d3ead8fab3426a4591ba2
parentf3918d14d692591d0797ad4b9c03f1fe1cbbb94b (diff)
downloadscummvm-rg350-e214755107596cf0350e0c411da12b267a36818d.tar.gz
scummvm-rg350-e214755107596cf0350e0c411da12b267a36818d.tar.bz2
scummvm-rg350-e214755107596cf0350e0c411da12b267a36818d.zip
Suppress useless parentheses
svn-id: r43462
-rw-r--r--engines/gob/save/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/save/saveload.cpp b/engines/gob/save/saveload.cpp
index 81239f07dc..27e3b34655 100644
--- a/engines/gob/save/saveload.cpp
+++ b/engines/gob/save/saveload.cpp
@@ -42,7 +42,7 @@ SaveLoad::~SaveLoad() {
const char *SaveLoad::stripPath(const char *fileName) {
const char *backSlash;
- if ((backSlash = strrchr(fileName, '\\')))
+ if (backSlash = strrchr(fileName, '\\'))
return backSlash + 1;
return fileName;