mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Comment out unused variable dest.
This commit is contained in:
@@ -109,7 +109,7 @@ ascii2bin(char *s)
|
|||||||
ULONG
|
ULONG
|
||||||
ParseFixedPoint(char *s, ULONG size)
|
ParseFixedPoint(char *s, ULONG size)
|
||||||
{
|
{
|
||||||
char dest[256];
|
//char dest[256];
|
||||||
ULONG i = 0, dot = 0;
|
ULONG i = 0, dot = 0;
|
||||||
|
|
||||||
while (size && dot != 2) {
|
while (size && dot != 2) {
|
||||||
@@ -117,13 +117,13 @@ ParseFixedPoint(char *s, ULONG size)
|
|||||||
dot += 1;
|
dot += 1;
|
||||||
|
|
||||||
if (dot < 2) {
|
if (dot < 2) {
|
||||||
dest[i] = s[i];
|
//dest[i] = s[i];
|
||||||
size -= 1;
|
size -= 1;
|
||||||
i += 1;
|
i += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dest[i] = 0;
|
//dest[i] = 0;
|
||||||
|
|
||||||
yyunputbytes(size);
|
yyunputbytes(size);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user