summaryrefslogtreecommitdiff
path: root/inputmethods/dasher/PPMLanguageModel.cpp
Side-by-side diff
Diffstat (limited to 'inputmethods/dasher/PPMLanguageModel.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/dasher/PPMLanguageModel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/inputmethods/dasher/PPMLanguageModel.cpp b/inputmethods/dasher/PPMLanguageModel.cpp
index b725a2b..137b07f 100644
--- a/inputmethods/dasher/PPMLanguageModel.cpp
+++ b/inputmethods/dasher/PPMLanguageModel.cpp
@@ -74,3 +74,3 @@ CPPMLanguageModel::~CPPMLanguageModel()
-bool CPPMLanguageModel::GetProbs(CContext *context,vector<unsigned int> &probs,double addprob)
+bool CPPMLanguageModel::GetProbs(CContext *context,vector<unsigned int> &probs,double )
// get the probability distribution at the context
@@ -87,3 +87,3 @@ bool CPPMLanguageModel::GetProbs(CContext *context,vector<unsigned int> &probs,d
int sym;
- ulong spent=0;
+ // ulong spent=0;
ulong size_of_slice;
@@ -194,3 +194,3 @@ void CPPMLanguageModel::EnterSymbol(CContext* Context, modelchar Symbol)
CPPMnode *find;
- CPPMnode *temp=context.head;
+ // CPPMnode *temp=context.head;
@@ -248,3 +248,3 @@ void CPPMLanguageModel::dumpString( char *str, int pos, int len )
-void CPPMLanguageModel::dumpTrie( CPPMLanguageModel::CPPMnode *t, int d )
+void CPPMLanguageModel::dumpTrie( CPPMLanguageModel::CPPMnode *, int )
// diagnostic display of the PPM trie from node t and deeper