From 31e637d224afd4f1f219093df6341611d2a0ef75 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 16 Dec 2019 08:34:14 +0100 Subject: Revert "checksrc: fix regexp for ASSIGNWITHINCONDITION" This reverts commit ba82673dac3e8d00a76aa5e3779a0cb80e7442af. Bug: #4683 --- lib/checksrc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/checksrc.pl') diff --git a/lib/checksrc.pl b/lib/checksrc.pl index db9a45dff..834364561 100755 --- a/lib/checksrc.pl +++ b/lib/checksrc.pl @@ -457,7 +457,7 @@ sub scanfile { } } - if($nostr =~ /^((.*)(if) *\()(.*)\) [{\n]/) { + if($nostr =~ /^((.*)(if) *\()(.*)\)/) { my $pos = length($1); if($4 =~ / = /) { checkwarn("ASSIGNWITHINCONDITION", -- cgit v1.2.3