File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -183,13 +183,20 @@ class Dawg {
183
183
/// of the given unichar_id.
184
184
virtual void unichar_id_to_patterns (UNICHAR_ID unichar_id ,
185
185
const UNICHARSET & unicharset ,
186
- GenericVector < UNICHAR_ID > * vec ) const {};
186
+ GenericVector < UNICHAR_ID > * vec ) const {
187
+ (void )unichar_id ;
188
+ (void )unicharset ;
189
+ (void )vec ;
190
+ }
187
191
188
192
/// Returns the given EDGE_REF if the EDGE_RECORD that it points to has
189
193
/// a self loop and the given unichar_id matches the unichar_id stored in the
190
194
/// EDGE_RECORD, returns NO_EDGE otherwise.
191
195
virtual EDGE_REF pattern_loop_edge (
192
196
EDGE_REF edge_ref , UNICHAR_ID unichar_id , bool word_end ) const {
197
+ (void )edge_ref ;
198
+ (void )unichar_id ;
199
+ (void )word_end ;
193
200
return false;
194
201
}
195
202
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ class Dict {
374
374
double def_probability_in_context (
375
375
const char * lang, const char * context, int context_bytes,
376
376
const char * character, int character_bytes) {
377
+ (void ) lang;
377
378
(void ) context;
378
379
(void ) context_bytes;
379
380
(void ) character;
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class SVEventHandler {
89
89
90
90
// Gets called by the SV Window. Does nothing on default, overwrite this
91
91
// to implement the desired behaviour
92
- virtual void Notify (const SVEvent* sve) { }
92
+ virtual void Notify (const SVEvent* sve) { ( void )sve; }
93
93
};
94
94
95
95
// The ScrollView class provides the expernal API to the scrollviewer process.
You can’t perform that action at this time.
0 commit comments