([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
This commit is contained in:
Andrew McCallum 1996-03-18 14:00:06 +00:00
parent 942f1e24e4
commit d214ea4667

View file

@ -75,8 +75,6 @@ static BOOL debug_binary_coder;
at: (const void*)d at: (const void*)d
withName: (id <String>) name withName: (id <String>) name
{ {
unsigned char size;
if (debug_binary_coder) if (debug_binary_coder)
{ {
[[[self class] debugStderrCoder] [[[self class] debugStderrCoder]
@ -172,16 +170,12 @@ static BOOL debug_binary_coder;
at: (void*)d at: (void*)d
withName: (id <String> *)namePtr withName: (id <String> *)namePtr
{ {
char encoded_type;
unsigned char encoded_size;
unsigned char encoded_sign = 0;
assert(type); assert(type);
assert(*type != '@'); assert(*type != '@');
assert(*type != '^'); assert(*type != '^');
assert(*type != ':'); assert(*type != ':');
switch (encoded_type) switch (*type)
{ {
case _C_CHARPTR: case _C_CHARPTR:
{ {