From 0456ff8e700edddf1f4c41f8514c6d7576e8faac Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 2 May 2013 15:13:19 +0300
Subject: [PATCH] Removed unused variable.
---
src/ld65/segments.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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 */
--
2.39.5