From d214ea4667826106c15c8aacd0b3521584da8235 Mon Sep 17 00:00:00 2001 From: Andrew McCallum Date: Mon, 18 Mar 1996 14:00:06 +0000 Subject: [PATCH] ([RawCStream -encodeValueOfCType:at:withName:name]): Remove unused variable. ([RawCStream -decodeValueOfCType:at:withName:]): Likewise. Switch on *type, not unused variable. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1176 72102866-910b-0410-8b05-ffd578937521 --- Source/RawCStream.m | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Source/RawCStream.m b/Source/RawCStream.m index 23747041e..a57d0c7c3 100644 --- a/Source/RawCStream.m +++ b/Source/RawCStream.m @@ -75,8 +75,6 @@ static BOOL debug_binary_coder; at: (const void*)d withName: (id ) name { - unsigned char size; - if (debug_binary_coder) { [[[self class] debugStderrCoder] @@ -172,16 +170,12 @@ static BOOL debug_binary_coder; at: (void*)d withName: (id *)namePtr { - char encoded_type; - unsigned char encoded_size; - unsigned char encoded_sign = 0; - assert(type); assert(*type != '@'); assert(*type != '^'); assert(*type != ':'); - switch (encoded_type) + switch (*type) { case _C_CHARPTR: {