mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: fix unused tmpl warning; remove duplicate code
This commit is contained in:
@@ -100,7 +100,7 @@ pub fn compile_template(content string) string {
|
||||
}
|
||||
}
|
||||
s.writeln(str_end)
|
||||
s.writeln('tmpl_res := sb.str() ')
|
||||
s.writeln('_tmpl_res := sb.str() ')
|
||||
s.writeln('}')
|
||||
s.writeln('// === end of vweb html template ===')
|
||||
return s.str()
|
||||
|
Reference in New Issue
Block a user