diff --git a/Applications/FileIO/GocadIO/GocadTSurfaceReader.cpp b/Applications/FileIO/GocadIO/GocadTSurfaceReader.cpp
index 05c04bc1a889e15819893a1fa0d28648d96e3a19..2dd25a9a9b30069c108f524850ceddd91db7c958 100644
--- a/Applications/FileIO/GocadIO/GocadTSurfaceReader.cpp
+++ b/Applications/FileIO/GocadIO/GocadTSurfaceReader.cpp
@@ -275,7 +275,6 @@ std::string propertyCheck(std::string const& strng)
         {"PROPERTY_CLASSES", "PROP_LEGAL_RANGES", "NO_DATA_VALUES",
          "PROPERTY_KINDS", "PROPERTY_SUBCLASSES", "UNITS", "ESIZES"}};
 
-    bool key_found(false);
     std::vector<std::string> str = BaseLib::splitString(strng);
     for (std::string key : property_keywords)
     {