summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--src/MTS_IO_QuectelRadio.cpp1
2 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5cfc70f..8e71154 100644
--- a/Makefile
+++ b/Makefile
@@ -41,8 +41,7 @@ OBJS += \
src/MTS_IO_SerialConnection.o
CC := $(CXX)
-#-Werror
-CXXFLAGS += -Wall -std=c++0x -fmessage-length=0 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
+CXXFLAGS += -Wall -Werror -std=c++0x -fmessage-length=0 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
CPPFLAGS += -I=/usr/include/jsoncpp -Iinclude
LDFLAGS += -s -shared -Wl,-soname,$(APPNAME).so.0
diff --git a/src/MTS_IO_QuectelRadio.cpp b/src/MTS_IO_QuectelRadio.cpp
index c603d08..aaf30e4 100644
--- a/src/MTS_IO_QuectelRadio.cpp
+++ b/src/MTS_IO_QuectelRadio.cpp
@@ -215,7 +215,6 @@ CellularRadio::CODE QuectelRadio::getNetworkStatus(Json::Value& jData) {
const std::string RAT_WCDMA = "WCDMA";
const std::string RAT_LTE = "LTE";
- int32_t iValue;
ACTIVEBAND abnd;
SERVICEDOMAIN sd;
std::string sValue;