1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vweb: fix unused var warning

This commit is contained in:
Alexander Medvednikov
2020-06-10 12:17:49 +02:00
parent deddc71720
commit a130d3cd14
4 changed files with 15 additions and 8 deletions

View File

@@ -113,7 +113,7 @@ pub fn compile_template(content, fn_name string) string {
}
}
s.writeln(str_end)
s.writeln('tmpl_res_$fn_name := sb.str() ')
s.writeln('_tmpl_res_$fn_name := sb.str() ')
s.writeln('}')
s.writeln('// === end of vweb html template ===')
return s.str()