diff --git a/panda/src/chancfg/chanwindow.cxx b/panda/src/chancfg/chanwindow.cxx index 129df61e77..f3d7865197 100644 --- a/panda/src/chancfg/chanwindow.cxx +++ b/panda/src/chancfg/chanwindow.cxx @@ -113,7 +113,7 @@ void WindowParseFunctor::operator()(std::string S) { int hw_chan_offset = 0; bool dvr = false; if (!S.empty()) { - int hw_chan_offset = ChanReadNextInt(S); + hw_chan_offset = ChanReadNextInt(S); hw_chans = true; } if (!S.empty()) {