aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/unzip.cpp2
-rw-r--r--engines/sci/engine/gc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/unzip.cpp b/common/unzip.cpp
index da9bb65f43..cd5d37f4bd 100644
--- a/common/unzip.cpp
+++ b/common/unzip.cpp
@@ -1148,7 +1148,7 @@ int unzReadCurrentFile(unzFile file, voidp buf, unsigned len) {
return UNZ_PARAMERROR;
- if ((pfile_in_zip_read_info->read_buffer == NULL))
+ if (pfile_in_zip_read_info->read_buffer == NULL)
return UNZ_END_OF_LIST_OF_FILE;
if (len==0)
return 0;
diff --git a/engines/sci/engine/gc.cpp b/engines/sci/engine/gc.cpp
index 7f29b53f01..7692613ee5 100644
--- a/engines/sci/engine/gc.cpp
+++ b/engines/sci/engine/gc.cpp
@@ -98,7 +98,7 @@ AddrSet *findAllActiveReferences(EngineState *s) {
Common::List<ExecStack>::iterator iter = s->_executionStack.reverse_begin();
// Skip fake kernel stack frame if it's on top
- if (((*iter).type == EXEC_STACK_TYPE_KERNEL))
+ if ((*iter).type == EXEC_STACK_TYPE_KERNEL)
--iter;
assert((iter != s->_executionStack.end()) && ((*iter).type != EXEC_STACK_TYPE_KERNEL));