aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-11 15:56:55 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-11 15:56:55 +0100
commitfdbea05b16e3c716b5226a1f0d45cc98561500e4 (patch)
treed6f4046b7f10e9b68d279cd3e6f33665582b6177 /src/DabMod.cpp
parentf0cd709e645a3d2210fce5daf80138696aac84e3 (diff)
downloaddabmod-fdbea05b16e3c716b5226a1f0d45cc98561500e4.tar.gz
dabmod-fdbea05b16e3c716b5226a1f0d45cc98561500e4.tar.bz2
dabmod-fdbea05b16e3c716b5226a1f0d45cc98561500e4.zip
Fix all the warnings shown since previous commit
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 1625a82..0ac7d4f 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -445,7 +445,7 @@ int launch_modulator(int argc, char* argv[])
}
}
#if defined(HAVE_ZEROMQ)
- else if (auto in = dynamic_pointer_cast<InputZeroMQReader>(inputReader)) {
+ else if (dynamic_pointer_cast<InputZeroMQReader>(inputReader)) {
run_again = true;
// Create a new input reader
auto inputZeroMQReader = make_shared<InputZeroMQReader>();
@@ -453,7 +453,8 @@ int launch_modulator(int argc, char* argv[])
inputReader = inputZeroMQReader;
}
#endif
- else if (auto in = dynamic_pointer_cast<InputTcpReader>(inputReader)) {
+ else if (dynamic_pointer_cast<InputTcpReader>(inputReader)) {
+ // Create a new input reader
auto inputTcpReader = make_shared<InputTcpReader>();
inputTcpReader->Open(mod_settings.inputName);
inputReader = inputTcpReader;