We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5be52ba commit 97afec4Copy full SHA for 97afec4
src/goto-instrument/document_properties.cpp
@@ -155,9 +155,9 @@ void document_propertiest::get_code(
155
dest="";
156
157
const irep_idt &file=source_location.get_file();
158
- const irep_idt &line=source_location.get_line();
+ const irep_idt &source_line = source_location.get_line();
159
160
- if(file=="" || line=="")
+ if(file == "" || source_line == "")
161
return;
162
163
std::ifstream in(id2string(file));
@@ -170,7 +170,7 @@ void document_propertiest::get_code(
170
171
}
172
173
- int line_int=unsafe_string2int(id2string(line));
+ int line_int = unsafe_string2int(id2string(source_line));
174
175
int line_start=line_int-3,
176
line_end=line_int+3;
0 commit comments