mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
([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:
parent
942f1e24e4
commit
d214ea4667
1 changed files with 1 additions and 7 deletions
|
@ -75,8 +75,6 @@ static BOOL debug_binary_coder;
|
|||
at: (const void*)d
|
||||
withName: (id <String>) 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 <String> *)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:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue