Initialize variables to avoid compiler warnings.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5070 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -2231,8 +2231,11 @@ ErrorExit:
|
|||||||
static void ParseSym (InputData* D)
|
static void ParseSym (InputData* D)
|
||||||
/* Parse a SYM line */
|
/* Parse a SYM line */
|
||||||
{
|
{
|
||||||
cc65_symbol_type Type;
|
/* Most of the following variables are initialized with a value that is
|
||||||
long Value;
|
* overwritten later. This is just to avoid compiler warnings.
|
||||||
|
*/
|
||||||
|
cc65_symbol_type Type = CC65_SYM_EQUATE;
|
||||||
|
long Value = 0;
|
||||||
cc65_size Size = 0;
|
cc65_size Size = 0;
|
||||||
StrBuf SymName = STRBUF_INITIALIZER;
|
StrBuf SymName = STRBUF_INITIALIZER;
|
||||||
unsigned Segment = CC65_INV_ID;
|
unsigned Segment = CC65_INV_ID;
|
||||||
|
|||||||
Reference in New Issue
Block a user