aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/python-console/modified/pyconsole.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-07-05 10:14:19 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-07-05 10:14:19 +0200
commit2fe13e7a079eb5df30f23b0e4da33d8d8067a9b1 (patch)
tree54cb0d8d42fedbeaaf73313a017d114244b3cece /3rdparty/python-console/modified/pyconsole.cc
parentfcff203c23ccd4ced76dafe1496b8c83adb88ddc (diff)
downloadnextpnr-2fe13e7a079eb5df30f23b0e4da33d8d8067a9b1.tar.gz
nextpnr-2fe13e7a079eb5df30f23b0e4da33d8d8067a9b1.tar.bz2
nextpnr-2fe13e7a079eb5df30f23b0e4da33d8d8067a9b1.zip
make GUI compile on MSVC
Diffstat (limited to '3rdparty/python-console/modified/pyconsole.cc')
-rw-r--r--3rdparty/python-console/modified/pyconsole.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/python-console/modified/pyconsole.cc b/3rdparty/python-console/modified/pyconsole.cc
index 186d74d2..d724553b 100644
--- a/3rdparty/python-console/modified/pyconsole.cc
+++ b/3rdparty/python-console/modified/pyconsole.cc
@@ -95,7 +95,7 @@ void PythonConsole::parseEvent( const ParseMessage& message )
}
// interpret valid user input
- int errorCode;
+ int errorCode = 0;
std::string res;
if ( message.message.size() )
res = pyinterpreter_execute( message.message, &errorCode );