Skip to content
Permalink
Browse files

[sipify] fix remove value assignment in members

  • Loading branch information
3nids committed May 18, 2018
1 parent c1e1696 commit 1fe0fb74ec7bb6b32636b159c60631e2dee6a3c5
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/sipify.pl
@@ -899,7 +899,7 @@ sub detect_non_method_member{
};

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

0 comments on commit 1fe0fb7

Please sign in to comment.
You can’t perform that action at this time.