From 7eef64f88544a2165216c2fe87662105d8f995e0 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 22 Dec 2025 17:00:13 +0200 Subject: [PATCH] examples,net.ftp,v.builder: remove remaining matches of `rg --multiline --multiline-dotall "continue\n\t+\}\n\t+\}\n\t+return" -B3 -A3 ` --- cmd/tools/vwhere/finder_utils.v | 1 - examples/vcasino/vcasino.v | 1 - vlib/net/ftp/ftp.v | 1 - vlib/v/builder/cflags.v | 1 - 4 files changed, 4 deletions(-) diff --git a/cmd/tools/vwhere/finder_utils.v b/cmd/tools/vwhere/finder_utils.v index 3b14f97b2..507565ca8 100644 --- a/cmd/tools/vwhere/finder_utils.v +++ b/cmd/tools/vwhere/finder_utils.v @@ -141,7 +141,6 @@ fn collect_v_files(path string, recursive bool) ![]string { } if recursive && os.is_dir(file) && !os.is_link(file) { all_files << collect_v_files(file, recursive)! - continue } } return all_files diff --git a/examples/vcasino/vcasino.v b/examples/vcasino/vcasino.v index ec0c0b58e..a10547a64 100644 --- a/examples/vcasino/vcasino.v +++ b/examples/vcasino/vcasino.v @@ -59,7 +59,6 @@ fn get_bet_nbr() int { if bet_nbr < 0 || bet_nbr > 49 { println('error: ${line} is not between 0 and 49.') bet_nbr = -1 - continue } } return bet_nbr diff --git a/vlib/net/ftp/ftp.v b/vlib/net/ftp/ftp.v index 821d8290d..23fcee967 100644 --- a/vlib/net/ftp/ftp.v +++ b/vlib/net/ftp/ftp.v @@ -232,7 +232,6 @@ pub fn (mut zftp FTP) dir() ![]string { if lfile.len > 1 { trimmed := lfile.after(':') dir << trimmed#[3..trimmed.len - 1] - continue } } return dir diff --git a/vlib/v/builder/cflags.v b/vlib/v/builder/cflags.v index 4cfcbe572..02d7d77cc 100644 --- a/vlib/v/builder/cflags.v +++ b/vlib/v/builder/cflags.v @@ -27,7 +27,6 @@ fn (mut v Builder) get_os_cflags() []cflag.CFlag { } if v.pref.os == .windows && flag.os == 'mingw' && v.pref.ccompiler != 'msvc' { flags << flag - continue } } return flags -- 2.39.5