From fadb20829957d0637cbddd95c675141799e056dd Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Mon, 9 Nov 2015 16:11:58 +0800 Subject: [PATCH] Fix compile warning: warning: enumeration value 'Unknown' not handled in switch [-Wswitch] --- src/core/net/private/geoipdatabase.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/net/private/geoipdatabase.cpp b/src/core/net/private/geoipdatabase.cpp index a8d886c7e..3c8ed6cce 100644 --- a/src/core/net/private/geoipdatabase.cpp +++ b/src/core/net/private/geoipdatabase.cpp @@ -392,6 +392,8 @@ QVariant GeoIPDatabase::readDataField(quint32 &offset) const else qDebug() << "* Invalid field size for type: Float"; break; + default: + qDebug() << "* Unsupported data type: Unknown"; } if (!usePointer)