Skip to content

Commit 3448696

Browse files
committed
Removes unused function from CCBReader
1 parent 9514876 commit 3448696

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

cocos2d-ui/CCBReader/CCBReader.m

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -131,23 +131,6 @@ static inline BOOL readBool(CCBReader *self)
131131
return str;
132132
}
133133

134-
static inline BOOL getBit(CCBReader *self)
135-
{
136-
BOOL bit;
137-
unsigned char byte = *(self->bytes+self->currentByte);
138-
if (byte & (1 << self->currentBit)) bit = YES;
139-
else bit = NO;
140-
141-
self->currentBit++;
142-
if (self->currentBit >= 8)
143-
{
144-
self->currentBit = 0;
145-
self->currentByte++;
146-
}
147-
148-
return bit;
149-
}
150-
151134
static inline void alignBits(CCBReader *self)
152135
{
153136
if (self->currentBit)

0 commit comments

Comments
 (0)