File: pCProb-undeclared

package info (click to toggle)
dasher 5.0.0~beta~repack2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 70,908 kB
  • sloc: xml: 181,314; cpp: 70,858; java: 8,020; python: 3,579; makefile: 937; sh: 320; ansic: 223; perl: 71
file content (18 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix undefined variable
Author: Thibaut Paumard <thibaut@debian.org>
Origin: vendor
Applied-Upstream: d853bd326f436e574096eb3607f53605c6cdb40d
Last-Update: 2017-01-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Src/DasherCore/ConvertingAlphMgr.cpp
+++ b/Src/DasherCore/ConvertingAlphMgr.cpp
@@ -27,7 +27,7 @@
 CDasherNode *CConvertingAlphMgr::CreateSymbolNode(CAlphNode *pParent, symbol iSymbol) {
   //int i=m_pAlphabet->iEnd;
   if (iSymbol == m_pAlphabet->iEnd) {
-    pParent->GetProbInfo();
+    std::vector<unsigned int> *pCProb(pParent->GetProbInfo());
     DASHER_ASSERT(pCProb->size() == m_pAlphabet->iEnd+1);//initial 0, final conversion prob
 
     //this used to be the "CloneAlphContext" method. Why it uses the