From: Oliver Schmidt
Date: Thu, 2 May 2013 12:13:19 +0000 (+0300)
Subject: Removed unused variable.
X-Git-Tag: V2.14~35
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0456ff8e700edddf1f4c41f8514c6d7576e8faac;p=cc65
Removed unused variable.
---
diff --git a/src/ld65/segments.c b/src/ld65/segments.c
index fe6c78dd7..413c8020d 100644
--- a/src/ld65/segments.c
+++ b/src/ld65/segments.c
@@ -191,7 +191,6 @@ Section* ReadSection (FILE* F, ObjData* O)
/* Read a section from a file */
{
unsigned Name;
- unsigned Flags;
unsigned Size;
unsigned long Alignment;
unsigned char Type;
@@ -202,7 +201,7 @@ Section* ReadSection (FILE* F, ObjData* O)
/* Read the segment data */
(void) Read32 (F); /* File size of data */
Name = MakeGlobalStringId (O, ReadVar (F)); /* Segment name */
- Flags = ReadVar (F); /* Segment flags (currently unused) */
+ ReadVar (F); /* Segment flags (currently unused) */
Size = ReadVar (F); /* Size of data */
Alignment = ReadVar (F); /* Alignment */
Type = Read8 (F); /* Segment type */