Skip to content

Commit 1fe0fb7

Browse files
committedMay 18, 2018
[sipify] fix remove value assignment in members
1 parent c1e1696 commit 1fe0fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/sipify.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ sub detect_non_method_member{
899899
};
900900

901901
# remove struct member assignment
902-
if ( $SIP_RUN != 1 && $ACCESS[$#ACCESS] == PUBLIC && $LINE =~ m/^(\s*\w+[\w<> *&:,]* \*?\w+) = [\-\w\:\.]+(\([^()]+\))?\s*;/ ){
902+
if ( $SIP_RUN != 1 && $ACCESS[$#ACCESS] == PUBLIC && $LINE =~ m/^(\s*\w+[\w<> *&:,]* \*?\w+) = [\-\w\:\.]+(\([^()]*\))?\s*;/ ){
903903
dbg_info("remove struct member assignment");
904904
$LINE = "$1;";
905905
}

0 commit comments

Comments
 (0)
Please sign in to comment.