File tree 2 files changed +11
-17
lines changed
2 files changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -228,20 +228,20 @@ class reserved_symbols {
228
228
229
229
230
230
class dlexer {
231
- std::istream* m_input;
232
- char_reader* m_reader;
233
- char m_prev_char;
234
- char m_curr_char;
235
- int m_line;
236
- int m_pos;
237
- int m_tok_pos;
231
+ std::istream* m_input = nullptr ;
232
+ char_reader* m_reader = nullptr ;
233
+ int m_prev_char = 0 ;
234
+ int m_curr_char = 0 ;
235
+ int m_line = 1 ;
236
+ int m_pos = 0 ;
237
+ int m_tok_pos = 0 ;
238
238
string_buffer<> m_buffer;
239
239
reserved_symbols m_reserved_symbols;
240
240
241
241
public:
242
242
// when parsing domains, we want '.' character to be allowed in IDs, but elsewhere
243
243
// we don't (because of the "y." in rules like "P(x,y):-x=y.")
244
- bool m_parsing_domains;
244
+ bool m_parsing_domains = false ;
245
245
246
246
bool eos () const {
247
247
return m_curr_char == EOF;
@@ -267,15 +267,7 @@ class dlexer {
267
267
next ();
268
268
}
269
269
270
- dlexer ():
271
- m_input (nullptr ),
272
- m_reader (nullptr ),
273
- m_prev_char (0 ),
274
- m_curr_char (0 ),
275
- m_line (1 ),
276
- m_pos (0 ),
277
- m_tok_pos (0 ),
278
- m_parsing_domains (false ) {
270
+ dlexer () {
279
271
}
280
272
281
273
void set_stream (std::istream* s, char_reader* r) {
Original file line number Diff line number Diff line change @@ -4089,6 +4089,7 @@ namespace smt {
4089
4089
expr_ref_vector arrangement_disjunction (mgr);
4090
4090
4091
4091
int pos = 1 ;
4092
+ (void )pos;
4092
4093
for (unsigned int i = 0 ; i <= strValue.length (); i++) {
4093
4094
zstring part1Str = strValue.extract (0 , i);
4094
4095
zstring part2Str = strValue.extract (i, strValue.length () - i);
@@ -4522,6 +4523,7 @@ namespace smt {
4522
4523
4523
4524
expr_ref_vector arrangement_disjunction (mgr);
4524
4525
int pos = 1 ;
4526
+ (void )pos;
4525
4527
4526
4528
if (!avoidLoopCut || !has_self_cut (m, y)) {
4527
4529
expr_ref_vector and_item (mgr);
You can’t perform that action at this time.
0 commit comments