From 9e016bbfc3596db3b449dbb38590caf32bf8b68c Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 27 Feb 2016 12:48:26 +0200 Subject: [PATCH] Removed useless operations from OS X system code No more 'expression result unused' warnings --- src/posix/cocoa/i_system.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/posix/cocoa/i_system.mm b/src/posix/cocoa/i_system.mm index 498498d946..07e85281ba 100644 --- a/src/posix/cocoa/i_system.mm +++ b/src/posix/cocoa/i_system.mm @@ -208,12 +208,12 @@ void I_PrintStr(const char* const message) else if (0x1d == *srcp || 0x1f == *srcp) // Opening and closing bar character { *dstp++ = '-'; - *srcp++; + ++srcp; } else if (0x1e == *srcp) // Middle bar character { *dstp++ = '='; - *srcp++; + ++srcp; } else {