From 250eaf0c3a8d11e3684392047e82e1a004f6bfb2 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 9 Aug 2001 17:55:37 +0000 Subject: [PATCH] fix probable bug spotted from compiler warning --- panda/src/chancfg/chanwindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {