Do not use libc::c_int in Simplify

This commit is contained in:
Alexander Krotov
2019-10-11 03:24:55 +03:00
committed by holger krekel
parent 66e53e6804
commit eba012b965

View File

@@ -142,8 +142,8 @@ impl Simplify {
ret += "[...]";
}
/* we write empty lines only in case and non-empty line follows */
let mut pending_linebreaks: libc::c_int = 0i32;
let mut content_lines_added: libc::c_int = 0i32;
let mut pending_linebreaks = 0;
let mut content_lines_added = 0;
for l in l_first..l_last {
let line = lines[l];
if is_empty_line(line) {