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

parser: add unused variable warning

This commit is contained in:
Kris Cherven
2020-04-21 19:52:56 -04:00
committed by GitHub
parent 08fac28c52
commit 155891a4e0
24 changed files with 104 additions and 33 deletions

View File

@ -11,7 +11,7 @@ import term
// / since it is done in normal V code, instead of in embedded C ...
// //////////////////////////////////////////////////////////////////
fn cb_assertion_failed(filename string, line int, sourceline string, funcname string) {
color_on := term.can_show_color_on_stderr()
// color_on := term.can_show_color_on_stderr()
use_relative_paths := match os.getenv('VERROR_PATHS') {
'absolute'{
false