From e02576860470e6cee440ab13e2e85a7321731842 Mon Sep 17 00:00:00 2001
From: Thomas Harte <thomas.harte@gmail.com>
Date: Mon, 19 Sep 2016 08:17:07 -0400
Subject: [PATCH] Two passes of the index hole => no sector found.

---
 StaticAnalyser/Acorn/Disk.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/StaticAnalyser/Acorn/Disk.cpp b/StaticAnalyser/Acorn/Disk.cpp
index f3dfa1074..d4023525e 100644
--- a/StaticAnalyser/Acorn/Disk.cpp
+++ b/StaticAnalyser/Acorn/Disk.cpp
@@ -134,7 +134,7 @@ class FMParser: public Storage::Disk::Drive {
 				return sector;
 			}
 
-			return sector;
+			return nullptr;
 		}
 
 		std::shared_ptr<Storage::Encodings::MFM::Sector> get_sector(uint8_t sector)